This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validating struts <html:radio> button" Watch "Validating struts <html:radio> button" New topic

Validating struts <html:radio> button

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 118

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

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

Joined: Jan 10, 2002
Posts: 60053

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]
I agree. Here's the link:
subject: Validating struts <html:radio> button
Similar Threads
To iterate HashMap in struts
How to make dynamic radio button checked
Arraylist in JSP with Html radio
Creating Radio Buttons using Struts