In article <1121980076.501188.197500 (AT) z14g2000cwz (DOT) googlegroups.com>,
"audleman (AT) quasika (DOT) net" <audleman (AT) quasika (DOT) net> wrote:
Quote:
I'm looking for something a bit simpler. All I want to do is validate
the email and URL a user types into the 'email' and 'website' fields.
Nothing fancy, just something that will catch the more egregious data
entry errors.
Has anyone written a Filemaker script to take care of this? |
You don't need a script, just use the field's Validation options and
check for illegal characters (eg. spaces, tabs, returns) and for the
necessary legal characters (e.g an @ in the email address).
eg.
PatternCount(Email, " ") = 0
and PatternCount(Email, "¶") = 0 <-- the Return character
and PatternCount(Email, "@") = 1
There's no way of actually checking that the data entered is a proper
valid email or web site address though.
Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)