Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML form is not resetting  RSS feed

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have a EducationForm which contains schooling info.
Once I enter the info ,it saves to database and after that It comes with the same old info which i just filled in the form.
i.e After adding , The form doesn't get reset.

I already have a javascript function "resetForm()" which is called when the "add" button called in EducationForm.

Also , ActionForm already has reset method !! then why it is not resetting ??

thanx for replies
-Anand
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!