Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Label control is the simplest way of displaying a text on the form. When entered plain text it is displayed without any operation. If you want to perform mathematical operations or get value(s) from the XML, you must use double braces around the statement, for example {{ LeaveInformation/RemainingDays + 1 }} or {{ Personnel/Age }} .

Displaying Alternative Texts

Sometimes, it is a requirement to display additional text on the form related with the Form Data. Below, you may see an example on how to accomplish this.

Let's say that, you have an Xml field named Approved.


Code Block
languagejs
titleSample Data
{{iif(Approved='Y','Approved',iif(Approved='N','Not Approved','Not Specified'))}}