Is there a flexible way to create an “adaptable” form using jQuery?

I have a requirement to create a form. The user would like to fill out the form in a linear way, while the form adapted to their selection as they were created.

I could do this as a series of if / else statements in jQuery with some onChange events. However, this can become tedious. I was wondering if there was a sample / best practice for this scenario?

I suppose that would be almost magical, with the exception of the form fields, which will change depending on their choice ... maybe ~ 3 steps.

+5
source share
2 answers

, - , ... , 100%

jQuery.wizard

+2

"", , , .

, ( , , ), , , , .

, AJAX , .

+2

All Articles