Dynamic php form- question
Posted: Fri Aug 22, 2008 3:06 pm
Hello All,
I have created a PHP form connected to MySQL database.
On this form I have a question with YES/NO selection option in a dropdown bow. I would like when the user select an option (Yes or NO) that part of the form changes to accomodate extra fields related to the answer.
eg:
Do you a student?
Select:(YES or NO) in dropdown box.
If the user select 'NO' -nothing should happen and they continue fulling the rest of the form. But if the user select 'YES' - some additional fields should automaticall appears on the form such as School name field, subject field, etc
Kindly advise or direct me to resouces that can assist me.
Thanks
Dave
I have created a PHP form connected to MySQL database.
On this form I have a question with YES/NO selection option in a dropdown bow. I would like when the user select an option (Yes or NO) that part of the form changes to accomodate extra fields related to the answer.
eg:
Do you a student?
Select:(YES or NO) in dropdown box.
If the user select 'NO' -nothing should happen and they continue fulling the rest of the form. But if the user select 'YES' - some additional fields should automaticall appears on the form such as School name field, subject field, etc
Kindly advise or direct me to resouces that can assist me.
Thanks
Dave