setFieldUnit

Add or set a unit in front of a numeric or text field.

Parameters

  1. controlId - Id of the control

  2. The string value of the unit you want to set. If this parameter is not set, the unit will be removed.

Example Usages

Simple textbox

app.setFieldUnit("myControlId", "€");

Remove unit

app.setFieldUnit("myControlId");

Return Values

Function does not explicitly produce return value.

Last updated