OpenWGA 7.6 - TMLScript reference

TMLForm "tmlform"
Property :

errors

On object TMLForm "tmlform"
Usage Lists data type conversion errors
Description Certain input types need to be converted from their string input to the target input type after they were uploaded. These are the types "boolean", "number" or "date" for instance.

As the user is free to enter any data to the browser input he may enter string data that is not convertible to the target format. If so this property lists the errors that have happened in conversion.

This property only lists conversion errors no further validation errors. The conversion errors also come out as validation errors, so they do not need to be put out additionally.
Writable False
Return value List of error messages (String)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent