I am looking for some example code for a form, when a user selects from a drop down menu the “other” option, a new field appears below AND the drop down menu gets locked.
Really would be helpful if i could get some ideas… !
Cheers!!
I am looking for some example code for a form, when a user selects from a drop down menu the “other” option, a new field appears below AND the drop down menu gets locked.
Really would be helpful if i could get some ideas… !
Cheers!!
ok that wouldnt exactly work…
I was thinking more like if someone clicks “other” then a new field below is created for the other option…
One question. How would you unselect “other” if you’ve locked the dropdown?
Maybe this will help:
… not really what i was looking for… i want to be able to add a new field and also block the user from using the drop down menu… for example if they select “other” in the drop down menu a new field appears and the drop down can not be changed unless the “other” option is unselected…
this is very common function, but im new to javascript soo i really need a helping hand…