Does anyone know how to create multiple sections in a form with only one submit button like the pictures attached here. Thank you!
Yes, that is what the dataset is for, to collect all your user information and if you want that many user inputs to collect then you need to have that many fields in your dataset.
You can combine user inputs into one dataset field, however then you will need to be able to seperate them again if you only wanted one part of that fields info again when you came to query the dataset again later on.
For yourself it would be much easier to just have the seperate fields in the dataset and do what Heath has suggested above, simply put the user inputs into containers so that they are all grouped into each section and you can put the dataset fields like that too. So you do all the fields for the first section, then all the fields for the second section and so on.
Wix provides you with a submit button in Wix Editor that you can use already to submit all data from the user inputs, all you have to do is add it to your page and link it to the dataset used and then have it set to submit.
This button can also display failed or passed messages automatically too, you just have to set them up yourself in the button’s settings.
Or you can create your own submit button through the use of code and using the dataset save option.
The other option is to a do a multi stage form and have each section filled in as you go, rather than having the whole form and multiple user inputs all on the one page.
https://www.wix.com/corvid/example/multistage-form
Hello @givemeawhisky ! Thanks for the info and the multi stage form looks cool! I’m gonna try it!
Hi, did you managed to get your multistep form to connect to your dataset? I seem to have trouble with this issue.