This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling fields when radio button is selected

 
dhanya kairali
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a radio button in my jsp page. On selecting it all the other fields in that page should be disabled. I dont want to implement this using javascript. What is the best thing I can do?
I am relatively new to Struts validation and Taglibraries, but I am assuming I should be using either of these.
Please give me some references/tips as to how I can implement this.
 
Craig Jackson
Ranch Hand
Posts: 405
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to struts, and I am not even sure you can do what your asking using
Struts validation and Taglibraries
but on the on the hand you asked
What is the best thing I can do?


I would suggest you reconsider using javascript.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic