OpenWGA 7.0 - TMLScript reference

TMLForm "tmlform"
Method :

isEmpty(fieldName)

On object TMLForm "tmlform"
Usage Checks if a form field is regarded empty
Description This method also respects the field registration and is able to detect empty relation fields, which is not reliably possible via a simple check for an empty field value.
Parameters

fieldName (String):

Name of the field to check

Return value Boolean
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions