This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Disabling fields when radio button is selected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Disabling fields when radio button is selected" Watch "Disabling fields when radio button is selected" New topic
Author

Disabling fields when radio button is selected

dhanya kairali
Greenhorn

Joined: Dec 28, 2000
Posts: 22
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

Joined: Mar 19, 2002
Posts: 405
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Disabling fields when radio button is selected
 
Similar Threads
java script
struts and ajax
Using Struts Validation with a radio button
Struts 1.1: html:radio issues
Dynamic field collapse issue in Form