Posts from Form providing Bizzare Results

Discussion in 'ASP General' started by Billy, Apr 15, 2006.

  1. Billy

    Billy Guest

    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.
     
    Billy, Apr 15, 2006
    #1
    1. Advertising

  2. Billy

    Mike Brind Guest

    Billy wrote:
    > 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.

    --
    Mike Brind
     
    Mike Brind, Apr 15, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bill joyce

    Bizzare session variable issue

    bill joyce, Oct 18, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    323
    bill joyce
    Oct 20, 2003
  2. Keith-Earl
    Replies:
    1
    Views:
    1,978
    Peter O'Reilly
    May 3, 2004
  3. Replies:
    0
    Views:
    450
  4. JavaEnquirer

    Bizzare web start problem

    JavaEnquirer, Aug 24, 2005, in forum: Java
    Replies:
    3
    Views:
    1,563
    JavaEnquirer
    Aug 25, 2005
  5. Replies:
    0
    Views:
    334
Loading...

Share This Page