OpenWGA 7.11 - TMLScript reference

TMLForm "tmlform"
Method :


On object TMLForm "tmlform"
Usage Returns the processed value of the field in its target type
Description Contrary to tmlform.enteredValue() this method returns the value of the given field after all processings like type conversions etc. have been done. This value is null if the type conversion failed.

This method effectively returns the same information like tmlform.field() with one difference: If the field has a single value it returns that value. If it is a multi value field it returns a List of those values.
Parameters fieldname (String):
Name of the field
Return value The parsed value of the field, either as single value or as List of values
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions