This topic is locked

Reset Button

9/8/2009 2:25:40 PM
ASPRunnerPro General questions
D
deeg author

Is their a way to fix the reset button so that it will clear the form fields after a user submits invalid data to retry? I noticed that if I enter information and click submit. If I click reset, nothing happens. Then if I manually clear out all the fields and hit the reset button, it restores the fields to the previous values!
How can I get all the values to clear? Thanks...

Sergey Kornilov admin 9/9/2009

This behavior is by design.
You can implement your own reset functionality to always clear form fields. Here is an example:

http://codesnippets.joyent.com/posts/show/215