Hello Everybody, I desperately need someone to help
me. I am working on a Order Form, users can rent or
buy desktops. I have a form with a couple of text
fields and drop downs common to users renting and
ordering desktops. There are two submit
buttons "rent" and "buy". The user fills in the
textboxes and select boxes and hits on "rent" or
"buy".  The form method is "post".
If the user hits the "rent" button, I want the user to
be taken to another page "rent.html" passing all the
form field values in hidden variables,
similarly when the user hits on "buy" button, I want
the user to be taken to "buy.html" passsing all the
form field values in hidden variables. I don't
know how to pass hidden variables to the action page
and retreive their values in the action page. Can
somebody please show me
how to do this. I am not using any server side
language, only _javascript_ and html. Is it possible to
do this in client side language? Please can somebody
show me how to do this.

Here is my form

<form name="the_form" method="post">
<table border="1" height="223">
<tr>
  <td class="lightblue" colspan="2" height="22">Order
Date</td>
  <td colspan="2" height="22">
  <input type="text" name="orderDate" value=""
size="56"></td>
</tr>
<tr>
  <td class="lightblue" colspan="2"
height="22">Telephone Extension</td>
  <td colspan="2" height="22">
  <input type="text" name="telExtension" value=""
size="56"></td>
</tr>
<tr>
<td colspan="2" height="22">
<select name="Category"">
    <option>    Current_Affairs
    <option>    Finances
</select>
</td>
</tr>

<table width="200" height="30" border="0"
align="center">
<tr>
    <td width="100"><input type="submit"
name="rentsubmit" value="rent"></td>
    <td width="100"><input type="submit"
name="buysubmit" value="buy"></td>
</tr>
</table>
</form>

Many Thanks
Allan

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to