• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validating struts <html:radio> button

 
prabhu pandurangan
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65123
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic