CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Sticky forms

 



jeff
Deleted

Dec 14, 2000, 7:32 AM

Post #1 of 2 (217 views)
Sticky forms Can't Post

Is there a way to make a form non-sticky so it won't re-submit data if the user hits the refresh key?



Jasmine
Administrator

Dec 16, 2000, 11:17 AM

Post #2 of 2 (207 views)
Re: Sticky forms [In reply to] Can't Post

If you're using CGI.pm (and you should be Smile), you can use override=>1 in your form fields.

Example:


Code
print $in->textfield(-name      => "name", 
-size => 25,
-maxlength => 25,
-override => 1);

Hope this helps!


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives