Re: validating forms without Javascript

by "Martin Clifford" <MLC1(at)nrc.gov>

 Date:  Wed, 27 Mar 2002 14:13:46 -0500
 To:  <hwg-basics(at)hwg.org>,
<rfuchs(at)lanl.gov>
  todo: View Thread, Original
Reggie,

There are many alternatives to JavaScript, though none as easy to set up =
and use.

You can use PHP to validate form fields.From what I've seen, PHP can do =
form validation fairly simply... the downside being that it is server-side,=
 therefore requiring a server with it installed.

I believe you can also use CGI for your form validation needs, but I could =
be wrong.

The reason I believe JavaScript to be the most useful for form validation =
is that it is a client-side scripting language, so the form is validated =
before it is ever sent to the server, which is good if your server is =
going to be running these forms quite often.

Perhaps someone else can shed more light on the other languages than I =
can, as I don't know them as of yet.

Hope to help.

Martin

>>> Regina Fuchs <rfuchs(at)lanl.gov> 03/27/02 01:03PM >>>
How would I validate a form without Javascript? The only way I know how =
is=20
using Javascript. Is validation even necessary?

I'm am preparing to write my first forms for a college web site. I =
would=20
like my first forms to work well (not be embarrassing LOL).

Someone surfing with Javascript turned off.
Reggie Fuchs

HTML Guild: hwg-basics mailing list archives, maintained by Web Professionals @ IWA