Nov 8, 2004, 3:31 PM
Post #1 of 2
Ok. I'm writing a CGI to build a very simple webpage. It has some forms, and it asks the users name, gives the user a series of checkboxes with different sections of the website next to them, and a few radio buttons with color names next to them.
Writing a cgi page builder in Perl, need help
When the user clicks a few sections (such as news and sports) and a color (red), it displays the page again with the same form at the top, while displaying the news and sports on a page with a red background.
Here's the problem. I want the form to remain the same after the user hits submit (instead of being cleared or filled with default values) Also, I want a cookie created that remembers this data when the user leaves and restores it if(hopefully when :) ) they return. Can anyone point me in the right direction to get this done? Thanks!