OpenWGA 7.9 - TMLScript reference

TMLForm "tmlform"
Method :

mode()

On object TMLForm "tmlform"
Usage Returns the display mode of the WebTML form
Description The display mode, on the WebTML tag <tml:form> settable via attribute mode, controls if the form fields are editable, shown as readonly inputs or just as their values. See the documentation of the attribute for possible values.
Writable False
Return value The display mode of the form (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent