Back to Templates

Survey form

View App View Code on GitHub
shiny create --template survey --mode express --github posit-dev/py-shiny-templates
shiny create --template survey --mode core --github posit-dev/py-shiny-templates

A simple survey form with a few input fields that simply writes responses to a file and displays a confirmation message when submitted. In this example, we use the shiny_validate package for input validation, providing direct feedback when the user enters invalid responses.

Layouts:

Packages: