Re: HTML Quickform and restore of default value in JS (again)?
| From: | Alexey Borzov | Date: | Tue, 09 Aug 2005 06:10:59 +0000 |
| Subject: | Re: HTML Quickform and restore of default value in JS (again)? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20329@lists.php.net to get a copy of this message | ||
Hi,
Tom Melendez wrote:
I haven't heard anything back - anyone have any ideas about this? Is there something obvious that I'm missing? I can patch Quickform if I have to and remove that line, but I would just rather use the correct method if there is one. Please excuse me if this has been answered, I couldn't seem to find it anywhere. I notice that the in client JS that Quickform generates the last line is: field.value=field.defaultValue How can I turn this off? This is very problematic.That's simple: find out how you turned it *on* and do the opposite. Hint: reading the docs will probably help.