Hi,
I have a survey which is composed of around 10 questions. For each question you can answer from 1 to 10 using radio buttons.
I have a javascript 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 and javascript pops up the alert then the user is redirected to a balck page with the default php error "Column 'question1' cannot be null"
Is there any way to avoid this php error.
Thanks in advance for ur help,
sbayter
I have a survey which is composed of around 10 questions. For each question you can answer from 1 to 10 using radio buttons.
I have a javascript 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 and javascript pops up the alert then the user is redirected to a balck page with the default php error "Column 'question1' cannot be null"
Is there any way to avoid this php error.
Thanks in advance for ur help,
sbayter