Variables Array in ui.json
Use a variables array to display a question to users conditionally. You can optionally display a question as disabled in the case where an answer has been found or computed using Apex Class. To accommodate variable condition and other fields, the variables array must be an array of objects instead of an array of variable names.
A variable object can have following fields:
| Key | Required | Value Description |
|---|---|---|
name | Yes | Name of the variable. |
visibility | No |
|
Example of variable object: