View Single Post
Old 11-17-08, 07:07 PM   #12
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: Need some help making medical website

do the checks with PHP

Code:
<?php

if (!isset($_POST['fieldname'])){
     // Error code here
}

?>
another option is the empty() function

Code:
<?php

if (empty($_POST['fieldname'])){
     // Error code here
}

?>
you can use a java popup to alert the user that they need to enter all fields. also, you should fill the textboxes/checkboxes with the posted material so ppl dont need to re-enter all the fields again.
ViN86 is offline   Reply With Quote