Hello,
I have a website that includes a form that asks several questions. This information is submitted to a Database. I have two questions that I want to validate against each other so that I do not have to "clean up" the data submitted.
"Were you placed on Hold?" Yes or NO options in a dropdown menu.
If you were placed no Hold, did the person wait for a response before placing you on HOld? Yes or NO or N/A options in a dropdown menu.
I want the person submitting the information to only be allowed to choose "Yes" or " "No" for the second question if and only if they choose "Yes" for the first question.
And
To only be able to choose "N/A" if they choose "No" fo the first question.
I would like the form to not submit and to change the color of the boxes if the answers do not match.
Can I do this with a Javascript check???
Thanks much,
I have a website that includes a form that asks several questions. This information is submitted to a Database. I have two questions that I want to validate against each other so that I do not have to "clean up" the data submitted.
"Were you placed on Hold?" Yes or NO options in a dropdown menu.
If you were placed no Hold, did the person wait for a response before placing you on HOld? Yes or NO or N/A options in a dropdown menu.
I want the person submitting the information to only be allowed to choose "Yes" or " "No" for the second question if and only if they choose "Yes" for the first question.
And
To only be able to choose "N/A" if they choose "No" fo the first question.
I would like the form to not submit and to change the color of the boxes if the answers do not match.
Can I do this with a Javascript check???
Thanks much,