Why not only send the form if some of the fields are filled in!
post the form info and check for field completed
<form name="form1" <?php echo " ACTION=\"$_SERVER[PHP_SELF]\" METHOD=POST>";?>
If for instance you have a text box named 'email'
if ($email =="")
{
if(mail($email, $mail_subject, $mail_message, $mail_headers));
}
else
{
if(mail($email, $mail_subject, $mail_message, $mail_headers));
Ã
Hope this helps
|