Back to Templates

Survey form

View App View Code on GitHub
shiny create -m express \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/survey
shiny create -m core \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/survey

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 to validate the form inputs.

Layouts:

Packages:

  • pandas
  • shiny_validate