When you fill out the first form and leave, capture this event. After the event starts, call the function to assign your previous value to the new form again ...
You don't have to use a hidden layer div. In another page, the value of parent.form = ..... There are many hidden layers on the Internet that process data