Creating a Survey with Dash

I need to create a Survey in Dash. I know that I can use RadioItems for the different answers, but how can I add an “Submit” Button, and when the Button is clicked that the Survey will get saved to an Excel/Pandas or any other Format?


how does your code look like up to now? What did you try?

In general, you can add a html.Button and on click collect the answers from the Radioitems via a callback. Once you have the information, you could process the data and finally export it.

Maybe my example can help.


Thank you very much. It’s kinda working, do you know how I could save the Output to a Panda DataFrame?

A database might be a better choice.