Form validation?
Form validation?
Out of context: Reply #11
- Started
- Last post
- 12 Responses
- ayport0
Can always do it server side:
HTML:
<form action="formProcessor.php" method="post">
<input type="checkbox" value="yes" name="checkbox">
<input type="submit">
</form>PHP (asp or asp.net works the same):
<?
if ($_POST['checkbox'] == "yes")
{
// process rest of form
}
else
{
echo "please check the box";
}
?>