aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Client side validation" Watch "Client side validation" New topic
Author

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: http://www.roseindia.net/struts/struts_validator_framework.shtml


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client side validation