This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The application I am working on has a mix of client and server side struts validations.
I recently added a few fields to the application which display or hide based on the selection of other values.
Ex: A text box displays or hides based on whether the state is selected as Georgia or not.
I am unable to validate this text box client side.
Can a field be set to required or not based on the value in another field and validations be performed client side?
I want this to be validated client side as if the server side validations fail, the previously displayed field goes back to being hidden as it was when the page loaded first.