I have a front end form that requires the user to select some options. Depending on the options I would like to add or subtract fields that are required to be filled out. If all the fields are shown to the user, it would be overwhelming.
I'm able to successfully hide and show the fields, but is there way to adjust the layout of the form depending on the fields that are shown?
I have 3 Fields:
If Field 2 is hidden, I want Field 3 to move up to fill the void.
So it would look like this
Any help would be appreciated.