-
Notifications
You must be signed in to change notification settings - Fork 809
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 conditions in triggers and trigger on a question #60
Comments
visibleIf: string attribute into page and question objects is added. |
How can I test this function? This is pretty key for me using this. Great stuff btw. |
I do not publish a new version yet. However, you may follow the instruction (readme.cmd) and build the library from sources. You will have a new property: visibleIf. |
…there is underfined value in an expression: #60
I am using {youquestionName} for question names in expressions. |
@andrewtelnov So I'm guessing this is incomplete?:
|
@git2g Sorry, I did not get the question :-( and
It looks fine to me. |
It would be great to have this expression parser for setValue trigger as well. |
Here is the example of using contains:
https://plnkr.co/edit/vNDIFk?p=preview
Thank you,
Andrew
…On Wed, Aug 9, 2017 at 11:01 PM, Gary Bond ***@***.***> wrote:
Does the visibleIf conditional evaluation work where the operator is
'contains'?
I need to make a question visible if one particular option is selected on
a previous multi-select question. I've set it up using the triggers, but I
wondered if the expression could be configured at the question rather than
at survey level.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFZKRNTQ6wQTnR0gw9UJwMEENC_Zex8Vks5sWhAqgaJpZM4Js9Pj>
.
|
It is time to re-work the current trigger mechanism in the library. There are several limitation at the current moment.
At first, there is no way to have a complex condition in the trigger. You may check only one question value.
At second, sometimes, it is more convenient to have the visible trigger on the question/page level: make the question/page visible if: [Boolean expression].
The following tasks has to be implemented:
The text was updated successfully, but these errors were encountered: