Dec 2, 2004 #1 stormbind Technical User Mar 6, 2003 1,165 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 Jun 14, 2004 6,450 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 Sep 21, 2004 1,134 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 Jun 14, 2004 6,450 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 Mar 6, 2003 1,165 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