Closed mbahgatTech closed 2 years ago
Added support for multiple conditions that display conditional fields.
There are 2 types of Conditions:
{ condition: "Value of parent", ...fields }
{ condition: ["Potential Value 1 of parent", "Potential Value 2 of parent", "Potential Value 3 of parent"], ...fields }
Any of the values above will result in the display of the conditional field. Comparison is case insensitive.
{ "condition": "Yes", "name": "Total Time [AUTOFILL]", "dropDown": false, "autoFill": { "dependencies": [ "Radio Tracking Start Time (24hr)", "Radio Tracking End Time (24hr)" ], "arguments": "dependencies", "body": "return Number(dependencies[1]) - Number(dependencies[0]);" } }
dependencies
body & arguments
Changes
Multiple Field Display Conditions:
Added support for multiple conditions that display conditional fields.
There are 2 types of Conditions:
Any of the values above will result in the display of the conditional field. Comparison is case insensitive.
Field Autofill Support #22
dependencies
is the list of field names that you will be using in your function.body & arguments
shape the function that calculates the field's value.