It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Zip code verification

Zip code verification

Postby SteveJo on Mon May 02, 2011 4:55 pm

Hi!
How can I create on my site an error message when the user submits an invalid zip code?
For example, in this site: http://www.carinsurancequotes.com , if I submit the zip code 99999 I get an error message: Please enter a valid zip code.

This is the code on my site:

Code: Select all
<form action="http://the next page" method="get" name="form">
<input type="text" name="zipcode" maxlength="5" id="zipcode" />
<br />

<input type="submit" name="search" id="button" value=""/>
</form>


Thanks,
Steve
SteveJo
 
Posts: 5
Joined: Thu Oct 21, 2010 8:31 am

Who is online

Users browsing this forum: No registered users and 5 guests