New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple display rules follow neither "and" nor "or" logical progression #493
Comments
I second this suggestion. Has this been resolved? |
Nope sorry. |
@tractorcow we're going to be looking at this as part of a CWP co-funded item. Our plan is to implement the same kind of dropdown that exists already on "email recipients" display rules, i.e. "show if all rules are met" or "show if any rule is met". We'll update the way the javascript is processed as well. Do you have anything we should keep in mind while doing this? |
We should keep in mind that users may want some kind of grouping. E.g. |
Given the scope of the internally funded request, we will only implement the "or" / "and" toggle at this point. The ability to implement nested groups can be a future iteration. |
Hey all, what about ensuring unique ids on the forms and their elements so that we can have more than one form per page? |
Hey @jopaul-10 - you'll find that issue logged separately as #543. It should be fixed/available in the next userforms release. |
Fixed with #575 |
Multiple display rules are applied in order, meaning that only the last rule will have any effect on the visibility of a field.
This should either be applied as a fixed "and" or "or" logical behaviour, or allow the user to select one or the other.
E.g. for a single field the following rules are applied in order.
The text was updated successfully, but these errors were encountered: