Reset Button in Rails
I am sure at some point web applications will require an entry form.
I just notice that Rails does not make the ‘Reset’ button available. Here is an example of an HTML form with a reset button:
Google helps me again!
I found a post from mc-kenna.com to describe what needs to be done.
<%= submit_tag "Start over", :name => ‘reset’, :type => ‘reset’, :id => ‘task_reset’ %>
Upon further research, I found an interesting discussion/ticket about making the reset button available in Rails. Making the button available is considered as a bad practice.
The ticket refers to Jacob Nielsen’s useit.com. A little blurb:
The Web would be a happier place if virtually all Reset buttons were removed. This button almost never helps users, but often hurts them.
I agree with the opinion that the button should be removed!