OpenWGA 7.10 - TMLScript reference

TMLForm "tmlform"
Method :

validate()

On object TMLForm "tmlform"
Usage Manually triggers the form validation
Description While validation is implicitly triggered when calling one of the tmlform.storeIn... methods you may want to trigger it manually with this method if you do not use these methods for storing your form information.

This method clears results of eventual previous validations.
Return value true if validation succeeded, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent