This topic is locked
[SOLVED]

 Enable / disable a field depending the just edited value of another

10/30/2013 4:36:28 PM
PHPRunner General questions
N
notuo author

Hi.
I have a radio button with 2 values (yes | no) and depending if the user (default value is no) click on yes, another set of fields should appear and if the user changes to No, the fields should do hide.
I know how to do this using the onload event but in this case I am lost because depends not in a value prior the display of the form but in what the user does in there.
Am I clear?
Thanks for your help,

N
notuo author 10/30/2013



Hi.
I have a radio button with 2 values (yes | no) and depending if the user (default value is no) click on yes, another set of fields should appear and if the user changes to No, the fields should do hide.
I know how to do this using the onload event but in this case I am lost because depends not in a value prior the display of the form but in what the user does in there.
Am I clear?
Thanks for your help,


Found the solution: http://xlinesoft.com/phprunner/docs/show_dropdown_list_of_us_states.htm