-
- 884 Posts
Anyone mind sharing his way of making forms with conditional options, for example if user select option A the next input field will be input_a and so on.
I
Man, that would be the holy grail... my experience with this is that these types of forms are always a lot of hard work, with lots of sweaty Javascript...
-
- 884 Posts
yeah I thought so. I’m trying few things from Dynamic drive but each script has it limitations.
I was hoping there is a simple way such a mootools/jquery libs that willl make things easier.
I’m sure there are libraries that make the journey easier... but of course, you have to sweat through learning the library. More power to the people out there who are good at this stuff, because I know it’s not easy.
Post back if you find something that helps you.
-
- 1,611 Posts
You could use jQuery and Ajax to do this nicely:
http://plugins.jquery.com/project/selectchain
Any ideas on how this could be done with mootools? I am trying to improve the speed of one of my larger sites by reducing external files (css, js, images, etc.). I have been using this:
http://www.dynamicdrive.com/dynamicindex16/formdependency.htm but its very bulky ,but it adds another JS file and loads of additional code to get the forms working correctly.
Thanks
AMDbuilder
-
- 1 Posts
What would similar code look like if using a List/Menu instead of Radio Buttons?
example:
Selecting a specific selection in the drop down would cause the div to display.
Thanks much.
Jim