OpenWGA 7.10 - TMLScript reference

TMLForm "tmlform"
Method :

hasField(name)

On object TMLForm "tmlform"
Usage Tests if the form contains a field of the given name
Parameters name (String):
Name of the field
Return value true if the field exists, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent