|
Posted by Ψrjan Langbakk on 06/24/06 05:57
I have a web form, where the user has the possibility of entering
his/her email-adress. I know this isn't the best way to do things,
unless I have a validation present - so, how do I implement that?
I understand the concept of validating, and I have already a validation
code present in my form (the form does not get sent unless you type in
the code - basic stuff)
But how do I validate that there has only been _one_ emailadress typed
in the field? Or none, for that matter - the field isn't required. And,
of course, I'd also like to be able to rule out cases where people try
to add \nBcc or the like.
Anyone have any pointers?
--
mvh
Γrjan Langbakk
http://www.bergenpchjelp.no
http://www.cubic-design.net
Navigation:
[Reply to this message]
|