OpenWGA 7.6 - TMLScript reference

TMLForm "tmlform"
Method :

hasMessages()

On object TMLForm "tmlform"
Usage Tests if any validation messages exist
Return value true if form validation failed and at least one validation message exists, false if not (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent