OpenWGA 7.6 - WebTML reference

WebTML tags » input

<tml:input defaultexpression ="tmlscript-expression">

Purpose:

Determines a default value for the field using TMLScript

Description:

If the source of the WebTML form defines no value for this input field the given default value is used instead to initialize the input field.

Specify a TMLScript expression that will get executed against the current document context. The result of the expression will be used as default value.

If you just want to specify a string as default value you might instead find attribute default more handy.

Value(s):

A TMLScript expression