My site has a form with the customary “I have read the agreement” checkbox. Right now I have the Agreement as a separate page from the form page. But if the user returns to the form through a link on the Agreement page, the fields end up blank again. What would be the least annoying way of making sure that the user at least has a chance to read the agreement before clicking Submit? The agreement seems a little long to be placed on the form page itself. Should I reformat the Agreement page as a separate window, with a server variable passed to the form before the user can submit? This sounds like it would require a combination of PHP and Javascript, since I don’t know of a way in PHP to open a separate window.
You can always make it an inline popup using something nice like fancybox (javascript).
If you really want to keep it a separate page, what you can do is use session.
When the form submits, you would store the $_POST variables as a session variable, then upon returning to the form - check to see if that sesssion variable exists, then repopulate the form with it.
An inline popup would work - I can reuse the script from when the site had popup menus. Thanks for the suggestion.