Jump to content

Form character count error


monkeybidz

Recommended Posts

My form currently checks for Zip Code empty field or checks that the Zip Code input matches the data base info. How would i get this form to return an error if the field text is less than 5 characters or digits?

 

Next error message will be:

 

$arrErrors = '3';

 

Current form checker is:

 

if ($_POST['zip2']==''|| $zip2 === 'false'.$z)

       $arrErrors = '02';

       header("Location: quote_error.php?");

 

 

Link to comment
https://forums.phpfreaks.com/topic/56477-form-character-count-error/
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.