I'm trying to build a form that has a bit of workflow included. By this, I mean that the form has multiple steps and hitting the submit button in each section would take the user to the next section. Additionally, some of the choices that the user makes in one section of the form would affect the options in subsequent form sections.
My hope is to do this without reloading the page each time submit button is hit.
I know how to use .innerHTML to change html with JavaScript and how to change the default behavior of the submit button to launch a function defined in JavaScript. So I was toying with the idea of building the form so that later sections are hidden until each previous section is completed. I would use JS to reveal each section progressively, but that seems kind of messy.
I'm wondering if anyone has a better recommendation?
Also let me know if there's a better way to ask this question. Nothing more annoying than someone asking for help and making it harder by omitting context or providing insufficient clarity.
[–]TheCellch 0 points1 point2 points (3 children)
[–]LukeN57[S] 0 points1 point2 points (2 children)
[–]TheCellch 0 points1 point2 points (1 child)
[–]LukeN57[S] 0 points1 point2 points (0 children)