Connecting Tech Pros Worldwide Help | Site Map

Form Validation problems

Suzanne Murray
Guest
 
Posts: n/a
#1: Jul 19 '05
Hi,

I am trying to provide some simple validation using Javascript on my
form.
However at times the validation works and at others it doesn't and
submits the form without any warnings even though it contains invalid
values. And sometimes it displays the warnings and submits the form!

I'm really confused and don't know what else I can do (I want to provide
the validation server-side)
I'd be very greatful of any advice on the subject

Thanks
Suzanne

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Ray at
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Form Validation problems


See "Validating a HTML form" from 31 minutes prior for info on server-side
validation.

For your client-side, put in a return false at the end of your validation to
prevent the form from submitting while you're debugging the code.

Ray at work

"Suzanne Murray" <suzi_murray@hotmail.com> wrote in message
news:%23D7o9gtdDHA.1472@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi,
>
> I am trying to provide some simple validation using Javascript on my
> form.
> However at times the validation works and at others it doesn't and
> submits the form without any warnings even though it contains invalid
> values. And sometimes it displays the warnings and submits the form!
>
> I'm really confused and don't know what else I can do (I want to provide
> the validation server-side)
> I'd be very greatful of any advice on the subject
>
> Thanks
> Suzanne
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it![/color]


Closed Thread


Similar ASP / Active Server Pages bytes