Implementing
email validation
Click
here to see how we do it!
Implement
The Form Validator into a web form adds only one
(1) line of html code!
The Form Validator has been installed
into this form by adding the single html line
colored in red. Please
give special attention to adding the "onSubmit"
method inside your form tag. The items
in blue are parameters
(instructions) passed to The Form Validator which indicate
your registered domain name (r=) and the form
element name that you're are using to capture
the email address (e=).
<script
language="JavaScript"
src="https://ssl.4i4.net/validator/?r=yoursite.com&e=address_email&speak=y"></script>
<form name="form1"
method="post" action="/"
onSubmit="return validate(this)"
>
<input name="address_email"
type="text">
</form> |
You can cut & paste the above
form into your web site and experience the web service.
The Form Validator is controlled by
the url parameters passed to it on the <script>
line.
-
r=
required and must be set to your registered
domain name. The value must match the domain from
whihc the the form is served.
-
e=
identifies to The Form Validator the name of your
email form field. In the example the form contains
a data input field called "address_email"
into which people will type their email address.
Setting "e=address_email" tells The
Form Validator to use what ever is entered into
that field as the email address to check with
its internet email server lookup. If you have
more than one form element which needs email validation
you can include them all in the "e="
parameter separated by a coma which might look
like "e=your_email,friends_email".
-
ec=
can be used in place of the e=
parameter to cause an immediate confirmation email
to be sent to the email address provided. This
email contains a link for the user to click on.
Upon clicking the link a confirmation signal will
be sent to satisfy The Form Validator and allow
the form to submit.
-
be=n,n,y
this is an optional parameter indicating "blank
email" is yes, ok. Use this feature when
you want to accept blank input. Use a comma separated
list aligned with your field names.
-
Optionally you can append the
speak=y
to the url. This enable the synthetic voice response.
-
m=y
signals The Form Validator to process multiple
form field as opposed to validating the fields
in the order that you request. All fields that
you specify will be validated each time the form
is submitted.
Note: The url for The Form Validator
must start exactly like
this: https://ssl.4i4.net/validator/?
Note! Javascript in browsers is case sensitive!
Everything is case sensitive!
We highly, highly suggest you simply use lower case
unless there is a mandatory reason otherwise .
Putting spaces in form field names will cause
everything to fail.
Appended to the The Form Validator url
you must provide your registered domain name that
you submitted during your registration process
in the form: r=your-domain.com
url parameters are always separated
by the &
symbol. Following your register domain name parameter
you append the e=
parameter and the optional
be= parameter.
Email validation can be implemented
together with all other validations The Form Validator
offers.
Note: There are some limitations
to validating all email addresses. For more details
please review our limitations page viewable from
the pull down menu.