Posts from Form providing Bizzare Results

B

Billy

I'm using the POST method to submit a simple form html page with yes/no
and checkbox fields to an asp response page which stores the values in
a new dim string, then uses it to build a new table using ADO. I'm
getting sometimes correct values, sometimes null values (when I know I
pass a valid default value) and other times multiple values! I know
what the values coming over are because I do a response.write to see it
before the error appears. The errors that I get are multistep value
errors or more commonly data type value errors. For example, a field is
set with a 0 for No, or a 1 for Yes is supposed to send a "0" by
default. In some fields it does, in others it sends a null value, still
others it sends a "0,1". Both values!

There are no hidden fields in the form.

Has anyone seen this bizarre behavior and/or know what may be causing
it? I'm stumped.
 
M

Mike Brind

Billy said:
I'm using the POST method to submit a simple form html page with yes/no
and checkbox fields to an asp response page which stores the values in
a new dim string, then uses it to build a new table using ADO. I'm
getting sometimes correct values, sometimes null values (when I know I
pass a valid default value) and other times multiple values! I know
what the values coming over are because I do a response.write to see it
before the error appears. The errors that I get are multistep value
errors or more commonly data type value errors. For example, a field is
set with a 0 for No, or a 1 for Yes is supposed to send a "0" by
default. In some fields it does, in others it sends a null value, still
others it sends a "0,1". Both values!

There are no hidden fields in the form.

Has anyone seen this bizarre behavior and/or know what may be causing
it? I'm stumped.

It would be useful to see the html of your form. That way some us might
be able to replicate your problem or identify errors in it. Without
that, we are only guessing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top