Combine OR and AND conditions in Advanced Settings to show/hide field #1527
Replies: 1 comment
-
|
Hi Anna! The built-in conditions indeed don't allow grouping of and/or logic and the advanced form options only allow configuring more complex validation rules for now... Adding support for similar conditional logic using JsonLogic would be a significant new feature and introduce some complexities that need addressing (how/when are rules evaluated, do they impact validation rules, override existing 'simple' conditional logic, how are conflicting show/hide rules handled, etc.). If this is considered as a new feature, we'd also need to determine which version(s) it will be added to, because version 13 uses a different backoffice UI stack and will be in security phase end of this year. I do want to acknowledge that this is definitely a valuable feature request, but also be transparent about expectations (priority/planning and version support wise). I'll make sure to discuss this during our upcoming refinement session 👍🏻 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Which Umbraco Forms version are you using? (Please write the exact version, example: 13.4.0)
13.3.2
Which Umbraco version are you using? (Please write the exact version, example: 13.5.2)
13.10.0
Issue summary
Our business has several forms with different conditions and we would like to be able to combine AND together with OR as a condition in advanced settings to be able to show/hide fields.
With JsonLogic we can write this condition, but it is not possible to connect it to the field to be shown/hidden.
Specifics
No response
Steps to reproduce
A condition in advanced settings cannot be linked to a query field with an alias/id.
Expected result / actual result
No response
Beta Was this translation helpful? Give feedback.
All reactions