Jump to content

[SOLVED] checkbox frustration


aebstract

Recommended Posts

      if (!isset($_POST['checktos'])) {
$problem = TRUE;
$error .= 'You must agree to the Terms of Service to complete your order. <br />';
      }

 

<p align=right><input type=\"submit\" name=\"submit\" class=\"textfield\" value=\"Checkout\" /></p>

 

 

I just want to check if the box is checked, I've gone through about 10 different ideas and nothing is displaying the error when it isn't checked. I'm completely confused.

Link to comment
https://forums.phpfreaks.com/topic/88907-solved-checkbox-frustration/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.