OpenWGA 7.0 - TMLScript reference

FormInfo
Property :

mode

On object FormInfo
Usage Hosts the display mode of the WebTML form
Description This setting is the pendant of <tml:form> attribute mode and sets the display mode of the form. Use the same string values that are also valid for the attribute.
Default value "edit"
Writable True
Return value The (initial) display mode of the WebTML form to create (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent