Form Options Dependent on User Responses
Posted: Mon Oct 01, 2007 4:37 pm
I am developing a complex order form in php/mysql (with about 100 options in all) that needs to produce certain options dependent upon the the users selections. For example:
The user is given a drop down box with options 1, 2, and 3. If the user selects option 1, then he should be able to choose between options a, b, or c. If the user selects option 2, then he should be given the choice between options d, e, or f and so on.
I would like to use some code that will cause the sub-options to appear when the user selects option 1, 2, or 3, rather than forcing the user to click submit. Is this possible? If not, how is the best way to collect this information? I would appreciate general advice from anyone with experience developing complex forms.
Also--is this the best thread for this post? I am new to the forum.
Thanks in advance
The user is given a drop down box with options 1, 2, and 3. If the user selects option 1, then he should be able to choose between options a, b, or c. If the user selects option 2, then he should be given the choice between options d, e, or f and so on.
I would like to use some code that will cause the sub-options to appear when the user selects option 1, 2, or 3, rather than forcing the user to click submit. Is this possible? If not, how is the best way to collect this information? I would appreciate general advice from anyone with experience developing complex forms.
Also--is this the best thread for this post? I am new to the forum.
Thanks in advance