Web Hosting Talk







View Full Version : How not to script HTML Form Validation


jb4mt
02-22-2005, 09:41 AM
Here's another article I've written, hope it's helpful:

http://devpapers.com/article/259

Azavia
02-27-2005, 09:01 PM
Hey, very nice article. I'll be changing soe of my javascript form validation around. :)

Do you know of any articles on javascript regular expressions? I know there is a regexp class in javascript; but I am not very familiar with the methods within it.

Brandon

jb4mt
02-27-2005, 10:17 PM
Originally posted by ZapX Technologies
Hey, very nice article. I'll be changing soe of my javascript form validation around. :)

Do you know of any articles on javascript regular expressions? I know there is a regexp class in javascript; but I am not very familiar with the methods within it.

Brandon
Thanks glad it was helpful but sorry I don't know of any articles on Javascript regular expressions. Not to say there aren't any though, so I encourage you to google for some. There is a very good chapter on it in Flanagan's "Javascript: The Definitive Guide". You could view this online with a two week free trial at http://safari.oreilly.com

deviations
03-17-2005, 03:30 AM
Hmm, when you mentioned regular expressions, I went to look in Jeffery Friedl's "Mastering Regular Expressions," and I saw Java only. :(

At least I can cope with learning regex in all the other languages listed in there. ;)

jb4mt
03-19-2005, 05:56 PM
Regular expressions should be pretty much the same across all languages. In fact I'm sure there must be more coverage in Friedl's "Mastering Regular Expressions" than just Java. Because the first editions of that book came out before Java supported them.

Javascript's implementation of RegEx's is particularly close to Perl's. And I know there is a good chapter on them in the "Rhino" book (Flanagan's "Javascript: The Definitive Guide")

af11kcc
04-02-2005, 02:19 AM
I found this article: http://tech.irt.org/articles/js049/ very useful. ;)