[thelist] RE: Multi form selections

Mr. Tenuta dtportnoy at videotron.ca
Thu Jun 17 08:09:11 CDT 2004

Heya John,

The example I used was in php not Javascript. I see what you mean thought,
the e-mails are viewable in the source the way I did it, but that was a
simple example. Like your Perl script in php you can easily set e-mail
addresses in the action script without it showing in the source code and you
could also make functions to check valid e-mail formats using the eregi()

I haven't really looked into Perl alot but it looks quite similar to PHP. I
thought php was an improvement on Perl? Don't know much abuot Perl though.
Here's how an e-mail format validation function would look like in PHP:

function mailNotValid($email)
)$", $email))
  return true;
  return false;
// in this case it returns true if mail format isn't valid.

----- Original Message ----- 
From: <John.Brooking at sappi.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, June 17, 2004 7:23 AM
Subject: [thelist] RE: Multi form selections

> > Date: Thu, 17 Jun 2004 12:23:11 +1000
> > From: "7 sinz" <btcode at hotmail.com>
> > To: thelist at lists.evolt.org
> > Subject: [thelist] Multi form selections
> >
> > Can anyone point me to a article/tutorials on how to make a form mail
> > function that has a multiple selections , the users would selec which
> > department to send their mail to.
> >
> > Anyone know of a rticle/tutorial like that?
> >
> > Kind Regards
> Lawrence gave you a good example of the kind of JavaScript you would use
> the client end. I have gone a step further and provided an accompanying
> emailer script to use with it, to avoid having to encode email addresses
> the client side. You could just use the names of your departments in the
> <option> tags and not worry about spam harvesters picking up the
> (I don't know if they do that yet outside of mailto: tags, but I figure if
> it's technically possible, it's only a matter of time.)
> The script and lots of explanation is at
> http://www.shoestringcms.com/personal/codelib/. My contact page on the
> site uses it, so you can view the source of that for the client-side
> example.
> John Brooking, Application Developer
> Sappi Fine Paper
> South Portland, ME, 04106 USA
> -- 
> This message may contain information which is private, privileged or
> confidential and is intended solely for the use of the individual or
> named in the message. If you are not the intended recipient of this
> please notify the sender thereof and destroy / delete the message. Neither
> the sender nor Sappi Limited (including its subsidiaries and associated
> companies) shall incur any liability resulting directly or indirectly from
> accessing any of the attached files which may contain a virus or the like.
> -- 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list