This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Validate disabled fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validate disabled fields" Watch "Validate disabled fields" New topic
Author

Validate disabled fields

Luke Zechariah
Ranch Hand

Joined: Sep 27, 2005
Posts: 117
Hello,

I am having a text field and in some cases it is enabled and some cases it is disabled. So during validation, it works fine for a enabled field. But when disabled struts should not validate the field, but its still performing validation on the disabled field.

Is there a way so that struts will know not validate the field if its disabled.



Thanks,
Lk.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validate disabled fields
 
Similar Threads
Form validation in struts
validator plugin and validate() method needs to use together
Controlling Struts Validation Dynamically
Validation
required field...but only if enabled