Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello, I need to reset the form

Status
Not open for further replies.

jollyplay

Programmer
Dec 16, 2003
90
0
0
Hello,

I need to reset the form values after submitting the button
if it is any errors. I can reset values for textfield.

***Please help me how can reset the value for select box or
combo box.


<html:select property=&quot;book&quot;>
<html:eek:ption value=&quot;&quot;>select</html:eek:ption>
<html:eek:ption value=&quot;&quot;>book1</html:eek:ption>
</html:select>

suppose i select book1,how can i reset the values
as book1.

Thanks in advance.

With regards,
balachandar.
 
The select will display whatever the value of &quot;book&quot; property in ur bean is, so if u want to reset the select, reset that value.
Hope this helps.
Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top