Re: Form - response required?

by "Captain F.M. O'Lary" <ctfuzzy(at)canopy.net>

 Date:  Thu, 17 Aug 2000 15:34:31 -0400
 To:  <hwg-basics(at)hwg.org>
 References:  rapidnet
  todo: View Thread, Original
I'm sorry, but I have to stick my nose in here.

!?! And what about the smart folks that cruise with Java off ?!?!

Why are we throwing Java script at something that can be easily done
without a platform/browser/language specific solution?

I'm confused.

cgiemail

It requires _no_ JavaScript. It doesn't give a hoot whether your e-mail
client is configured or not. It works well back into the 2.X browser
versions. Oh, and did I mention it's free, and will send a copy of the form
contents to multiple recipients simultaneously if you wish?

Server admins love it because it's easy to setup, has ridiculously low
resource overhead, and runs and runs with no continuing attention from them.

If this all comes as news to you, may I respectfully suggest some reading?

http://web.mit.edu/wwwdev/cgiemail/

I have been using this for ~years~ and it's both amazingly simple to
incorporate in a page and powerful. With a little imagination it's just
incredible what you can do with this little gizmo.

Of course, it has a downside. To get it up and running initially, your web
server administrator has to know a thing or two about his (or HER) machines.

HTH,
Fuzzy


At 06:37 PM 8/17/00 +0100, Brian Sloan wrote:
>Maybe you've already received a reply about this, but you need to put this
>in your form tag:
>
><FORM NAME="myform" onsubmit="check()">
>
>and then this script somewhere in your document.
>
><SCRIPT LANGUAGE="JavaScript">
>function check()
>{
>if(document.myform.name.value == " ")
>{
>alert("Please enter your name")
>return false
>}
>else
>{
>document.myform.submit()
>}
>}
></SCRIPT
>
>You need to add an if statement, before else, similar to the one above, for
>each form field. For example:
>if(document.myform.email value == " ")
>
>etc.
>
>HTH
>
>Brian Sloan
__________________________________________________________________
Captain F.M. O'Lary
webmaster(at)canopy.net
"Common sense is that layer of prejudices which we acquire before we are
sixteen." - Albert Einstein
------------------------------------------------------------------

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA