Passing Listbox and Textbox value to another page

Discussion in 'HTML & Website Design' started by aspbeginner, Aug 4, 2009.

  1. #1
    hello,

    how do i pass the value of texboxes and listbox from one page to another page using asp or vbscript.

    these are the codes:

    <p>&nbsp;</p>
    <form name="input" action="receive.asp" method="post">



    <table width="464" border="0" align="center">
    <tr>
    <td width="171">Contact Person </td>
    <td width="283"><input name="contact" type="text" id="contact" maxlength="100" maxlenght="100"/></td>
    </tr>
    <tr>
    <td>Company</td>
    <td><input name="company" type="text" id="company" maxlength="30" /></td>
    </tr>
    <tr>
    <td>Tel. No. </td>
    <td><input name="telephone" type="text" id="telephone" maxlength="30" /></td>
    </tr>
    <tr>
    <td>Country</td>
    <td><input name="country" type="text" id="country" maxlength="100" /></td>
    </tr>
    <tr>
    <td>Email</td>
    <td><input name="email" type="text" id="email" maxlength="100" /></td>
    </tr>
    <tr>
    <td>File</td>
    <td><select name="select" size="1" id="heading">
    <option>Test.pdf</option>
    </select></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td> <input name="submit" type="submit" value="Submit"></td>
    </tr>
    </table>
    <p>&nbsp;</p>
    <p>&nbsp; </p>
    </form>
     
    Last edited: Aug 4, 2009
    aspbeginner, Aug 4, 2009 IP
  2. xira

    xira Active Member

    Messages:
    315
    Likes Received:
    8
    Best Answers:
    4
    Trophy Points:
    68
    #2
    Perhaps you should post this to an ASP formum. Most people here are PHP people, and since this is design and HTML your aren't going to get a lot of answers.

    Regardless, you will most likely have to set up a session (PHP) to capture the information selected and pass it to other pages.
     
    xira, Aug 4, 2009 IP