Traits
Trait | Description |
---|---|
declarations |
A collection of zero or more variable declarations (let elements) that can be referenced in solution-wide query expressions. |
validation |
A collection of zero or more validation rules (validator elements) that evaluate user input in the control at
runtime, and prevent the user from submitting the form if the |
Remarks
If the text
is too long to fit in the default or specified
width
, line breaks are inserted to display the full
text.
... <textview label="The text below breaks evenly as the browser window is resized." text="Ne reprimique scribentur mea, eos at dicit melius constituto, at per causae iuvaret consequuntur. Vocent postulant duo eu, choro dissentias cu pro, est in inermis verterem intellegam. Cu per doctus partiendo maluisset. Ut eam detracto reprimique intellegam. Ei semper fabellas sit. Et pri ubique iisque veritus, in mei nobis clita, vel et appetere postulant."/> ...
Sample
... <numberbox id="tigers" label="How many dangerous animals have you got?" numberFormat='{decimalSeparator: ".", postfix: " tigers"}' /> <numberbox id="lions" label="" numberFormat='{decimalSeparator: ".", postfix: " lions"}' /> <numberbox id="bears" label="" numberFormat='{decimalSeparator: ".", postfix: " bears"}' /> <textview label="Oh my!" text='{"You have " || TOSTRING(tigers.number + lions.number + bears.number) || " dangerous animals!"}'/> ...
The
textview
below the three numberbox
es references the user
input in all three
A workflow script running in the Mobilengine Cloud would access the submission of the webform above in the format below:
{... tigers: {number: 2}, lions: {number: 4}, bears: {number: 1}, ...}
See the workflow script reference guide for more details on data type mapping.