Hi,
I have a survey which is composed of around 10 question. For each question you can answer from 1 to 10 using radio button.
I have a script validator with a if statements for each question so if the user does not check any radio in some question it will tell the user to try again.
The problem is that when user does not check any of the questions it pops up the 10 alert of each if statement.
At the edn of each if statment I have "event.returnValue=false;".
Is there any way to make the function break if one of the if statements is executed?
I tried inserting a "break" but if did not work.
Thanks in advance for ur help,
sbayter
I have a survey which is composed of around 10 question. For each question you can answer from 1 to 10 using radio button.
I have a script validator with a if statements for each question so if the user does not check any radio in some question it will tell the user to try again.
The problem is that when user does not check any of the questions it pops up the 10 alert of each if statement.
At the edn of each if statment I have "event.returnValue=false;".
Is there any way to make the function break if one of the if statements is executed?
I tried inserting a "break" but if did not work.
Thanks in advance for ur help,
sbayter