Can we validate disabled fields in struts? Like there is a text box disabled but have to validate it. Has anyone done it? Thank you for your time.
posted 10 years ago
That disabled field is in a ActionForm right? If all your fields in an ActionForm, no matter it is enabled or disabled, you still can do validation in your Action, which is the server side. The disabled function only cared in JSP level,so should have no pbm.