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

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

Remove unit

   brixxApi.setFieldUnit("myControlId");

Last updated