Blank form being submitted

Blank form being submitted

am 09.06.2005 22:19:26 von darren

I have a form that submits to another page that calls a stored procedure and
inserts the form into a sql database. I have javascript validation set up
on the form. When I go to the page and click submit without filling the
required fields it does not let (just like it is supposed to). The problem
is periodically blank records are getting submitted into the database. On
the confirmation page, I also have cdonts setup to send an email. When I
get the e-mail on htese there is no data here either. Any ideas on what is
happening? Thanks!

Darren

Re: Blank form being submitted

am 09.06.2005 23:33:35 von McKirahan

"Darren" wrote in message
news:3aa17$42a8a397$d8cc6cea$1655@LIGHTSHIP.NET...
> I have a form that submits to another page that calls a stored procedure
and
> inserts the form into a sql database. I have javascript validation set up
> on the form. When I go to the page and click submit without filling the
> required fields it does not let (just like it is supposed to). The
problem
> is periodically blank records are getting submitted into the database. On
> the confirmation page, I also have cdonts setup to send an email. When I
> get the e-mail on htese there is no data here either. Any ideas on what
is
> happening? Thanks!
>
> Darren

Not without seeing the code or a URL.

Re: Blank form being submitted

am 09.06.2005 23:56:10 von Chris Hohmann

"Darren" wrote in message
news:3aa17$42a8a397$d8cc6cea$1655@LIGHTSHIP.NET...
>I have a form that submits to another page that calls a stored procedure
>and inserts the form into a sql database. I have javascript validation set
>up on the form. When I go to the page and click submit without filling the
>required fields it does not let (just like it is supposed to). The problem
>is periodically blank records are getting submitted into the database. On
>the confirmation page, I also have cdonts setup to send an email. When I
>get the e-mail on htese there is no data here either. Any ideas on what is
>happening? Thanks!
>
> Darren
>
JavaScript may be disabled on the client and/or your JavaScript code may be
using proprietary elements. This is a good example of why client-side
validation should only be considered as a supplement to server-side
validation, not a substitute. Validation should be built into the data layer
via constraints and DRI (Data Referential Integrity) when possible or with
stored procedure for more complex validation.

Re: Blank form being submitted

am 10.06.2005 15:36:09 von darren

>
> Not without seeing the code or a URL.
>
>
http://www2.hpfairfield.com/request.asp

Re: Blank form being submitted

am 10.06.2005 23:21:24 von Jon

That url is no use to anyone. Because it ASP no one from this end can see
the code because it is translate. A copy of the code perhaps?

--
Jon
warpedpixel@gmail.com
Look at that dead pixel on your screen! *SLAP* Gotcha!

"Darren" wrote in message
news:40fe4$42a99690$d8cc6cea$21459@LIGHTSHIP.NET...
>
>>
>> Not without seeing the code or a URL.
>>
>>
> http://www2.hpfairfield.com/request.asp
>