Variables

You can create variables within a form and with the help of functions feature set up complex calculations, conditions, conditional styling and etc.  

Below is example of setting up variable and using it for conditional hiding a section.

 Form in the example below is tied up to Account object

Open "Tools" menu on the form header  and select "Variables" option (2):

On "Variables" popup (3) click "Add variable" button (4):

Provide variable name (5) and click edit icon (6) to open merge field builder (7):

Select context object (8) and object field (9). Using merge field (10) and functions (11) build and expression and click "Save" button (12):

For more information about working with context objects please refer following documentation chapter:

Context Objects

To use the functions or calculations inside of variable you have to build a formula like: FORMULA[SQRT(4) + (2*3)]

Above expression first casts number typed value to text and then checks if final string ends with "9". It will return "TRUE" if string does end with "9" and false if it doesn't.

Save "Variables" (13) and save the form (14).

Click on section title and create new conditional style using variable:

Above conditional style will hide section if "Account Number" value ends with symbol other than "9" and will show it for cases when it ends with "9".

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.