I have been looking around for a tutorial on how to allow the user of a form to create custom forms.
For example, user has a select box with the options:
- Protocol 1
- Protocol 2
- Protocol 3
If the user selects Protocol 1, a series of new input tags will appear (i.e. input fields, text areas, etc.). If the user selects protocol 2, a different set of input tags will appear.
I've seen it done before on other sites but can't find a tutorial or any documentation on it. Can it be done with just plain old css hiding and JS, or is there something more at play? Keep in mind I want the user to be able to submit their data into different tables depending on their protocol choice.
Thanks!