Closed Thread Icon

Topic awaiting preservation: Form Validation Problem in JavaScript in ASP project Pages that link to <a href="https://ozoneasylum.com/backlink?for=8160" title="Pages that link to Topic awaiting preservation: Form Validation Problem in JavaScript in ASP project" rel="nofollow" >Topic awaiting preservation: Form Validation Problem in JavaScript in ASP project\

 
Author Thread
e-maestro
Bipolar (III) Inmate

From: Northwestern Lower Michigan, USA
Insane since: Apr 2001

posted posted 05-08-2002 21:23

Trying to finish up a final project for JavaScript class. We are doing a final ASP project.
Having trouble with form validation on this one page....can't figure out what is going on!

*** SLIME found my typos, so it I will get rid of the rest of the code so as to not use server space! ***

e-maestro


[This message has been edited by e-maestro (edited 05-08-2002).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-08-2002 22:25

At first glance, I'm seeing you named some inputs "FirstName", and you're calling them in javascript with "Firstname". The case doesn't match.

Generally, I keep variables all lowercase, with a few exceptions from time to time. Keeps things easier for me.

e-maestro
Bipolar (III) Inmate

From: Northwestern Lower Michigan, USA
Insane since: Apr 2001

posted posted 05-08-2002 22:39

THX!

It would by typical for it to be something dumb like that! I can't see case after working on stuff till 2AM!

I change that and see what happens!

e-maestro

e-maestro
Bipolar (III) Inmate

From: Northwestern Lower Michigan, USA
Insane since: Apr 2001

posted posted 05-08-2002 22:53

THX 1,000,000 Slime!

Now I feel really DUMB! That was all there was to it! Those @&#! typos do it to me every time, and then I think my code is wrong.

THANK YOU SOOOOOOOOOOOO MUCH!

e-maestro

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-08-2002 22:54

That happens when you look at code for hours =)

« BackwardsOnwards »

Show Forum Drop Down Menu