This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Struts and the fly likes HTML form is not resetting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HTML form is not resetting " Watch "HTML form is not resetting " New topic

HTML form is not resetting

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
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
I agree. Here's the link:
subject: HTML form is not resetting
It's not a secret anymore!