Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validation Form Incorrectly Succeeding

Status
Not open for further replies.

William777

Programmer
Apr 5, 2007
2
US
Greets Folks,

I'm working on a script that I thought I had complete, but, when I tested it on the target program, it is succeeding where it shouldnt.


It seems to be doing a few things incorrectly. For instance...

1.) Once you enter a password it retains that password on the client side - such that - even if the field is left blank or using contrary passwords - it still succeeds.

2.) It's accepting incorrect email addresses.

When you submit the form, you can see how it succeeds where it shouldnt...

Am not sure why it is doing this because it worked locally...

Any help much appreciated.
TIA,

Will
 
Ack.. I took another look at it, and I found the reason it is incorrectly succeeding is because the regular expressions arent functioning properly... In turn is causing the passwords to go ignored, as well as the email field, which are the two areas that uses regulr expressions...

Can someone please look at the code via view source, and let me know why the regular expressions arent working...

Actually, they were working earlier, but I cant figure out what I did that screwed them up...

Thanks,

Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top