Basic Customization > User Interface Customization > Customizing HTML Clients Using the Windchill JSP Framework > Adding Validation Logic for Actions and Properties > Implementation > Authoring a Validator Class > Implementing a validateFormSubmission Method
  
Implementing a validateFormSubmission Method
A third method you can override in your Validator implementation is validateFormSubmission. This method would be invoked on the service by a client wanting to validate whether or not the user-entered data in a form is valid. For example, A user clicks “next” after entering data on the details step of a “create part” wizard. Should we allow them to go to the next step, based on what they’ve entered?
The method arguments and return type for validateFormSubmission are identical to those for validateSelectedAction:
public UIValidationResult validateFormSubmission (String
validationKey, UIValidationCriteria validationCriteria, Locale
locale)
Similarly, a pseudo-implementation of this method would be similar to what we provided for validateSelectedAction.