Variable not passing

Discussion in 'ASP General' started by tshad, Nov 16, 2004.

  1. tshad

    tshad Guest

    I have a simple asp page that doesn't seem to pass the contents of my text
    box. It does show the variable name, but no value.

    **********************************************
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    </head>

    <body>
    <form method="GET" action="atestbytfs.asp">
    <table width="90%" border="1" cellspacing="0" cellpadding="0">
    <tr>
    <td width="50%"><div align="right">Referral ID:&nbsp;</div></td>
    <td>&nbsp;<input type="text" id="referralID"></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value="Submit"></td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    **************************************************************

    After I put something in the box and press the submit button, I get the
    following when it calls a page:

    http://www.interez.com/atestbytfs.asp?

    No value.

    What am I missing?

    Thanks,

    Tom.
     
    tshad, Nov 16, 2004
    #1
    1. Advertising

  2. You get a seeq.com search page? Interesting. ;]

    Give your textbox a NAME. ID isn't enough.
    <input name="nameHere" type="text......

    Ray at work

    "tshad" <> wrote in message
    news:...
    >I have a simple asp page that doesn't seem to pass the contents of my text
    >box. It does show the variable name, but no value.
    >
    > **********************************************
    > <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html4/loose.dtd">
    > <html>
    > <head>
    > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    > <title>Untitled Document</title>
    > </head>
    >
    > <body>
    > <form method="GET" action="atestbytfs.asp">
    > <table width="90%" border="1" cellspacing="0" cellpadding="0">
    > <tr>
    > <td width="50%"><div align="right">Referral ID:&nbsp;</div></td>
    > <td>&nbsp;<input type="text" id="referralID"></td>
    > </tr>
    > <tr>
    > <td>&nbsp;</td>
    > <td><input type="submit" value="Submit"></td>
    > </tr>
    > </table>
    > </form>
    > </body>
    > </html>
    > **************************************************************
    >
    > After I put something in the box and press the submit button, I get the
    > following when it calls a page:
    >
    > http://www.interez.com/atestbytfs.asp?
    >
    > No value.
    >
    > What am I missing?
    >
    > Thanks,
    >
    > Tom.
    >
    >
    >
     
    Ray Costanzo [MVP], Nov 16, 2004
    #2
    1. Advertising

  3. tshad

    tshad Guest

    "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
    message news:%...
    > You get a seeq.com search page? Interesting. ;]
    >
    > Give your textbox a NAME. ID isn't enough.
    > <input name="nameHere" type="text......


    That was it.

    Thanks,

    Tom.
    >
    > Ray at work
    >
    > "tshad" <> wrote in message
    > news:...
    >>I have a simple asp page that doesn't seem to pass the contents of my text
    >>box. It does show the variable name, but no value.
    >>
    >> **********************************************
    >> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    >> "http://www.w3.org/TR/html4/loose.dtd">
    >> <html>
    >> <head>
    >> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    >> <title>Untitled Document</title>
    >> </head>
    >>
    >> <body>
    >> <form method="GET" action="atestbytfs.asp">
    >> <table width="90%" border="1" cellspacing="0" cellpadding="0">
    >> <tr>
    >> <td width="50%"><div align="right">Referral ID:&nbsp;</div></td>
    >> <td>&nbsp;<input type="text" id="referralID"></td>
    >> </tr>
    >> <tr>
    >> <td>&nbsp;</td>
    >> <td><input type="submit" value="Submit"></td>
    >> </tr>
    >> </table>
    >> </form>
    >> </body>
    >> </html>
    >> **************************************************************
    >>
    >> After I put something in the box and press the submit button, I get the
    >> following when it calls a page:
    >>
    >> http://www.interez.com/atestbytfs.asp?
    >>
    >> No value.
    >>
    >> What am I missing?
    >>
    >> Thanks,
    >>
    >> Tom.
    >>
    >>
    >>

    >
    >
     
    tshad, Nov 16, 2004
    #3
    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. shil
    Replies:
    2
    Views:
    2,074
    Eliyahu Goldin
    Jan 2, 2007
  2. pereges
    Replies:
    7
    Views:
    452
    pereges
    Jun 1, 2008
  3. Jonas Daunoravicius
    Replies:
    5
    Views:
    327
    Peter
    Jul 17, 2003
  4. Steve Cosh
    Replies:
    1
    Views:
    175
    joewiii
    Nov 18, 2005
  5. Jonas Daunoravicius
    Replies:
    5
    Views:
    302
    Peter
    Jul 17, 2003
Loading...

Share This Page