I am trying to figure out how to implement the following:
on the first page, I have a form naed form1 and two fields: name and phone.
<form name="form1" action="nextPage.php" method="post">
<table>
<tr>
<td> Name:<input id="name" size="10" name="name"></td>
<td> Phone:<input id="name" size="10" name="phone"></td>
</tr>
<tr>
<td><input type="button" value="Submit" name="Submit"></td>
</tr>
</table>
on the second page, I have another form but with more fields:
<form name="form2" action="nextPage.php" method="post">
<table>
<tr>
<td> Name:<input id="name" size="10" name="name"></td>
<td> Phone:<input id="phone" size="10" name="phone"></td>
<td> Zip Code:<input id="zipcode" size="5" name="zipcode"></td>
<td> Address:<input id="address" size="30" name="address"></td>
</tr>
<tr>
<td><input type="button" value="Submit" name="Submit2"></td>
</tr>
</table>
What I am trying to do is: user fills in name/phone on the first page, hits
submit button, she goes to the second page. On the second page, I want to have name/phone fields automatically filled with previous values from first page.
If these are php pages, and I assume they are because you have title the action in your form nextPage.php, you can just use the code as follows for your second page
Bookmarks