It's not a secret anymore!
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validate disabled fields" Watch "Validate disabled fields" New topic

Validate disabled fields

Luke Zechariah
Ranch Hand

Joined: Sep 27, 2005
Posts: 128

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.

I agree. Here's the link:
subject: Validate disabled fields
jQuery in Action, 3rd edition