aspose file tools*
The moose likes Struts and the fly likes Validating struts <html:radio> button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validating struts <html:radio> button" Watch "Validating struts <html:radio> button" New topic
Author

Validating struts <html:radio> button

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 120
Hi

<logic:iterate>
<html:radio styleid='name1' name='form' property='istrue'/>Accepted
<html:radio styleid='name1' name='form' property='istrue'/>Not Accepted
</logic:iterate>

i have a reset button link, on clicking this i have to clear the radio button selected.

If we use ordinary <input type='radio' name='name' />
we can just use document.getElementsByName('name')

But in our case i am using struts <html:radio> button, so how to get the same functionality as the one before i mentioned.


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61232
    
  66

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Validating struts <html:radio> button