JSON Properties
Mandatory Control Properties
The JSON code requires several mandatory properties. The table below lists the mandatory properties along with their uses.
Optional Control Properties
In addition to mandatory properties, there are optional properties you can use to develop activities. The table below lists the optional properties along with their uses.
Special Properties for Control Types
The "controlType" property options each have their own properties.
"valueChangesActions" Property
When using the controls "dropdown", "checkbox", and "radiobutton", you may include a "valueChangesActions" property in it.
The "valueChangesActions" property supports three actions:
- Enable
- Disable
- Set Value
For example, if you add a Date Difference as a checkbox control, you can add the "valueChangesActions" property.
False Setting
If the "valueChangesActions" property is false:
- the controls "FirstDateFormat" and "FirstDate" will be enabled.
True Setting
If the "valueChangesActions" property is true:
- "disable" will disable the controls "FirstDateFormat" and "FirstDate" (disable and enable actions receive an array of strings - control keys)
- "setValue" will set their values to be empty strings ("").