Forums

This topic is locked

Check Form Extension problem

Posted 14 Apr 2004 19:54:23
1
has voted
14 Apr 2004 19:54:23 Melanie Alanis posted:
I installed the check form extension and I'm using it to compare two form fields. When I try to submit my form, I get the error that I can't have more than one @ in my asp page. The first one is in my line one where I specify the language to be <%@language="vbscript"%> and the second shows up in the code generated by the check form extension in the middle of an expression. Any ideas on how I can get this to work and still use the check form extension?

rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-zA-Z]{2,4}$";if(!rx.test(v))err=true;

Edited by - jone0401 on 14 Apr 2004 21:03:38

Reply to this topic