Dec 2, 2004 #1 stormbind Technical User Joined Mar 6, 2003 Messages 1,165 Location GB Hi, Values in fields are not resetting to their default value when the page is refreshed. How can I fix that? ---------- Memoria mihi benigna erit qui eam perscribam
Hi, Values in fields are not resetting to their default value when the page is refreshed. How can I fix that? ---------- Memoria mihi benigna erit qui eam perscribam
Dec 2, 2004 1 #2 cLFlaVA Programmer Joined Jun 14, 2004 Messages 6,450 Location US Maybe try: Code: <body onload="document.forms['formname'].reset();"> *cLFlaVA ---------------------------- [tt]insert funny quotation here.[/tt] Upvote 0 Downvote
Maybe try: Code: <body onload="document.forms['formname'].reset();"> *cLFlaVA ---------------------------- [tt]insert funny quotation here.[/tt]
Dec 2, 2004 #3 Olavxxx Programmer Joined Sep 21, 2004 Messages 1,134 Location NO I think I would rather have a "reset form" button. Olav Alexander Mjelde http://www.volvo-power.netAdmin & Webmaster Upvote 0 Downvote
I think I would rather have a "reset form" button. Olav Alexander Mjelde http://www.volvo-power.netAdmin & Webmaster
Dec 2, 2004 #4 cLFlaVA Programmer Joined Jun 14, 2004 Messages 6,450 Location US the question really should be "why is a user refreshing a form page in the first place?" *cLFlaVA ---------------------------- [tt]insert funny quotation here.[/tt] Upvote 0 Downvote
the question really should be "why is a user refreshing a form page in the first place?" *cLFlaVA ---------------------------- [tt]insert funny quotation here.[/tt]
Dec 3, 2004 Thread starter #5 stormbind Technical User Joined Mar 6, 2003 Messages 1,165 Location GB Because it's for a game, and refreshing half-way through the signup process happens to unlock a cheat. ---------- Memoria mihi benigna erit qui eam perscribam Upvote 0 Downvote
Because it's for a game, and refreshing half-way through the signup process happens to unlock a cheat. ---------- Memoria mihi benigna erit qui eam perscribam