Does anyone knows how to code a form with a dropdown where after selecting the options in the dropdown the form will display a certain layout depending on the chosen dropdown options?
For example, if i choose 4 in the dropdown list, the form should display 4 empty textboxes, but if i choose 2, the form will only display 2.
Check my JSBin!
Given some example HTML:
Your solution could look something like this: