Created
November 9, 2020 12:29
-
-
Save mrnkr/0b07d835a7cd224871cc56417c49bca7 to your computer and use it in GitHub Desktop.
Compute value form.io - this calculation will be performed on build time and the result will be stored in the db, not the logic to compute it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"key": "customConditional", | |
"type": "hidden", | |
"input": false, | |
"clearOnHide": false, | |
"calculateValue": { | |
"==": [ | |
{ "==": [{ "var": "component.conditional.show" }, "true"] }, | |
{ "==": [{ "var": "data[component.conditional.when].value" }, { "var": "component.conditional.eq" }] }, | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment