[thelist] Javascript regular expression

Jason Lustig lustig at acsu.buffalo.edu
Sat Feb 2 11:38:00 CST 2002


>I need to validate a field
[...]
>Any ideas on how to do this?

If you REALLY need to validate this, JS is not your best option -- use a
server-side technology like perl or php. Anyone who wants to screw with your
content can just tamper with the source code (on a local version of the
page) and then cross-site script it so that it doesn't validate their
malicious content.

--Jason




More information about the thelist mailing list