OpenWGA 7.10 - TMLScript reference

FormInfo
Property :

trim

On object FormInfo
Usage Controls if the created form is to automatically trim field contents
Description In the trim process all "whitespace" at the beginning and the end of a field content is removed, for example spaces, carriage returns, tabs and other invisible" characters.
Default value false
Writable True
Return value true if fields are trimmed, false otherwise (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
    portletevent