Does anyone know how to validate a checkbox and text field together? For instance, I am creating a form that has a checkbox for the answer "Yes" and textfield for the answer "No" The question is something like this:
Do you like ice cream?
Yes (checkbox)
If No, Why? (textfield)
I would just like to validate it so that if the user completely misses the question they will get prompted to answer yes or no. I have tried a number of different combinations of code and nothing seems to work. Can someone please point me in the right direction?
Do you like ice cream?
Yes (checkbox)
If No, Why? (textfield)
I would just like to validate it so that if the user completely misses the question they will get prompted to answer yes or no. I have tried a number of different combinations of code and nothing seems to work. Can someone please point me in the right direction?