display rules with multiple correct...

User 2307824 Photo


Registered User
52 posts

I have a small issue. I have a form with 3 drop-down boxes, in one particular box there can be various options that could be selected for an event to occur. eg. Size could equal <850mm, <950mm or unlimited. So if someone selects <850mm then an event will display, but if they select unlimited then the same events (and more) would occur.

here is a rule I have setup
( ( ( ( ( ( [Type] is "Single Seater" ) and ( [Height] is "Standard" ) ) and ( [Size] is "<850mm" ) ) or ( [Type] is "Single Seater" ) ) and ( [Height] is "Standard" ) ) and ( [Size] is "Unlimited" ) )

For whatever the reason WFB seems to ignore the first half of the rule and will not display the correctly, however removing from the "or" statement to the end, leaving only the first half of the rule and we find that it works correctly.

I need to be able to have the [Size] = either "<850mm" or "Unlimited"
The size list have many more options in it so using "is Not" will not work either

Can anyone help me with this rule, but whatever I do will have to repeated for at least 100 or more events.
User 2147626 Photo


Ambassador
2,958 posts

I don't think you need to use an 'OR' statement. I made a sample form using just 'AND' statements and it seems to work fine if I understand your theory. You simply want to trigger an event depending on the first 2 selections, and multiple events if 'Unlimited' size is seleted. Right? Let me know if I'm misunderstanding this.
http://gunsmoke.me/test/choices/
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2307824 Photo


Registered User
52 posts

That is sort of what I want, however the same event that would be triggered when the <850 is selected would also need to be triggered if the "unlimited" is selected.
Eg. on the form there is 20 pictures elements, if someone was to choose the 850 option then it would display maybe 5 of the picture elements, however if someone choose unlimited then it should show all 20 picture elements.

As each picture element can only have 1 set of rules then the rule would need to cover both option in the one rule. The "and" option means that it will never display the picture element as both size options would have to be selected at the same time which is not possible in a one or the other situations eg its either 850 or unlimited that can be selected and not both.

this is not a workable option for the form eg
( ( ( ( [Type] is "Single Seater" ) and ( [Height] is "Standard" ) ) and ( [Size] is "<850mm" ) ) and ( [Size] is "Unlimited" ) )

Thank you for your efforts and thoughts on this issue.
User 2147626 Photo


Ambassador
2,958 posts

I gotcha. Working on it...Okay, then just add more fields to the 'Size' selection and add more rules using AND.
Example: Size: <850 <900 <850 & <900 <850 & Unlimited <900 & Unlimited All Sizes

You'd have 6 options under 'Size'. Then add the rules to display using just the AND option. Otherwise you'd have to have 3 drop downs for size.

That doesn't look right in the quote because it won't space out. But, have 6 options under size, and you're covered.
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 2307824 Photo


Registered User
52 posts

Appreciate your effort, but unfortunately the size drop down already another dozen sizes added, and to then add the size + unlimited to each is going to make it very messy and confusing. And not only that they choose a 900 then it will also need to show everything below 900 like the 850 sizes. So as you can see its not a very easy thing to do, when there are so many other options that will be there to choose from.

And some how I need to make this as dummy proof,. well at least as much as possible.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.