Hi,
I have a checkbox, and if its checked I want it to display 1 message, and if its not, display another. So I have...
<font face="Verdana, Arial, Helvetica, sans-serif" size="1"><input type="checkbox" name="checkbox" value="checkbox">By ticking this box, you agree you have read the terms and conditions</font>
Then in my function, I have
if (!isset($checkbox)){
$feedback .= ' ERROR - Please Read Terms and Conditions ';
return false;
} else {
$feedback .= ' Thank You ';
return true;
}
However it keeps feturning false, and saying 'Error - Please read....' What am I doing wrong? Can anyone see anything?
Cheers
Ben