Of course you'll want to validate server-side in case users don't have
JavaScript.
PHP frameworks usually have validation classes built in, but if you're
doing this from scratch then you'll need to do something like
<?php
if (isset($_POST["terms"])){
        //process the form
} else {
        // do not process form and show the error
}
?>

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to