Are you using any kind of data binding? Data model? How data is getting into a form in a first place?
Here i am using valueobject.
If u r using any valueObject then on submit button you re-instantiate that object which will clear all data & binded controls too.
if it is a input form you have to clear the data that is entered for each control in your form
Like if you have a text field(id="myTextField),
On submit set the text filed to myTextField.text ="";
If it is a comboBox reset, id.selectedIndex = -1 etc.
Thanq prasanth.I got it