Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client side validation

 
Philip Pomario
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 354
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic