|
Word Filter is a type of form
FormCheck is a generic script
This useful script allows you
Use this script to
validator. When the user
which will check and verify
to target a form's
automatically clear the
submits some text, the
that mandatory fields are
submission to a new
default value of any form's
validator will check the
filled in before form
customizable window, so the
input field when the mouse
text for words that has to
submission. If one or more
original page does not
sets focus on it. This
be filtered. The words that
of the required fields are
change once the
script intelligently
have to be filtered must be
empty. A popup dialog will
"submit" button is
distinguishes between
added to the array
appear showing the omitted
pressed. Instead, a
default and user-entered
swear_words_arr. When the
fields.
customizable pop up window
text, and clears only the
user types the text and hits
is launched containing the
former on mouse focus.
the submit button, if the
destination page.
text contains any word that
is present in the array
swear_words_arr, the form
will not be submitted. The
script can be used for
validation of swear words
etc.
Date: Jun, 24 2003 Date: Jun, 24 2003 Date: May, 27 2003 Date: May, 27 2003 |
|
Client side java script is
Use this JavaScript to
Using a combination of CSS
Checking that form fields
the efficient way to
validate Email addresses on
and Javascript this script
have input is extremely
validate the user input in
the client-side. To validate
will demonstrate how to drop
important - having this
web forms. It gives the
an Email address, use the
in code to check all the
performed before the form is
response immediately and
function in the following
required fields on a HTML
submitted, client side,
reduces the server load.
manner:
form without having to
before its handled by
But, when there are many
isEmail(someEmailAddress).
specify each and every
anything at the backend such
forms in the project and
The function returns true if
field. Incredibly Simple and
as an SQL or MS Access
when the forms are long,
the Email is valid, else the
easy to integrate with your
database, is vital and an
writing the form validations
function returns false. The
site.
additional factor in getting
becomes a daunting,
isEmail() function does not
accurate input. This code
repetitive task. Save
use regular expressions
contains functions to check
yourself from coding long
while the isEmail2()
null input and also to check
validations for your forms.
function uses regular
if an email address follows
Here is a simple, powerful
expression for validation.
a valid pattern.
form validation code. Using
this code, you can do the
common form validations in a
snap.
Date: May, 07 2003 Date: May, 01 2003 Date: Apr, 14 2003 Date: Feb, 12 2003 |