This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Client side validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Client side validation" Watch "Client side validation" New topic

Client side validation

Philip Pomario
Ranch Hand

Joined: Oct 03, 2003
Posts: 113
My Struts app seems to be generating all JavaScript necessary, but no validation is happening at client side at "hit-submit-button time". Validations on the server are flawless.

Any ideas on how to make the Java Scripts work are much appreciated.
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
did you make sure to include the onsubmit="validateXXXXX(this);" to your html:form tag?

here's a good resource for all the necessary steps:

-/a<br />certified slacker...yes, my last name is 'do' - <a href="" target="_blank" rel="nofollow"></a>
GeeCON Prague 2014
subject: Client side validation