Forum Moderators: open
In JavaScript or PHP, you could set a cookie to the user that is retrieved when the second form loads, and then is spit out into the fields that have already been filled out.
You could use AJAX programming to value check and insert the values into the database, or whatever other action, asynchronously, meaning no page reload. Hooray.
Perhaps the simplest way, and the way I would do it, is using a $_POST variable.
<input type="text" name="uniquename" />
on the next page, you would access the variable as such
$_POST['uniquename'];
Alternatively you could use $_GET and place the user value in to the browser request URI, but $_POST is more secure and when possible should be first choice.
[w3schools.com...]
Assuming you made the form on the previous page and have some understanding of PHP, on the page2.html or what have you, the variables from the form can be accessed as such:
$_POST['input_tag_name'];
Input tag name being of course, the value of the name attribute in the input tag. Once you have the variable, you could print it to an input field, which would allow further editing if desired, like so:
<input type="text" name="unique_name" value="<? echo $_POST['unique_name']; ?>" />
Does that help any?