Zip code validation problem

  • Thread starter Thread starter Curtis
  • Start date Start date
C

Curtis

I have an online form and need to require uses to enter a
zip code, but some are not ending up on my database and
some are 4 digits etc.

It works fine for me, IM wondering if this is a problem
with different browser versions.

Here is the code im using:

;<!--webbot bot="Validation" s-display-name="zip_code" s-
data-type="Integer" s-number-separators="x" b-value-
required="TRUE" i-minimum-length="5" i-maximum-
length="10" --><input name="zip_code" size="5"
maxlength="10">

This is what is created when you select the validate
option within frontpage. Yet I still get empty and or 4
digit submissions....what do I do?
..
 
Change the field type in your database to a text field, instead of number
field and you will stop loosing the starting zero.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
Back
Top