Hi Eric, I'm not sure I understand what you mean.
At the moment I have 3 elements, each with several options.
The idea was that if certain responses from each of the elements matched then it would display a picture of a certain lounge chair. In some cases the same lounge chair might actually match a couple of categories, as some of these chairs have options or different setups that means it will fit a different set of responses from the elements.
Now for whatever the reason the following only responds to the last half of the conditional statement
( ( ( ( ( ( [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" ) )
However using the following works fully.
( ( [Function] is "Recliner + Footrest Lever type" ) or ( [Function] is "Lift and Recline Electric" ) )
Admittedly there are less element responses to be considered, but it works for both halves of the conditional statement. based on that surely the original should work as well. Personally I beginning to think this is a bug either in the software, that stops it working correctly when the conditional statement is a long statement, or the bug is in the way it uses the 'AND' and the 'OR' statement
At the moment I have 3 elements, each with several options.
The idea was that if certain responses from each of the elements matched then it would display a picture of a certain lounge chair. In some cases the same lounge chair might actually match a couple of categories, as some of these chairs have options or different setups that means it will fit a different set of responses from the elements.
Now for whatever the reason the following only responds to the last half of the conditional statement
( ( ( ( ( ( [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" ) )
However using the following works fully.
( ( [Function] is "Recliner + Footrest Lever type" ) or ( [Function] is "Lift and Recline Electric" ) )
Admittedly there are less element responses to be considered, but it works for both halves of the conditional statement. based on that surely the original should work as well. Personally I beginning to think this is a bug either in the software, that stops it working correctly when the conditional statement is a long statement, or the bug is in the way it uses the 'AND' and the 'OR' statement
You could open a support topic but I think the conditions are working correctly. The or statement is a little different then the and. Your could try putting the or at the very end of your statment so it's the last condition read.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Just for grins Jeff, plug this in and see if it works...
( ( ( [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" ) ) )
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
-------------------------------------
https://sadduck.com
"The rule format is incorrect or incomplete"
I tried overriding the condition statements.

I tried overriding the condition statements.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
Gunsmoke wrote:
Just for grins Jeff, plug this in and see if it works...
Just for grins Jeff, plug this in and see if it works...
( ( ( [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" ) ) )
I was thinking along the sames lines as you, but I think it should be like this
( ( ( [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" ) ) )

Oops. You're right! That's what I meant. Hm, 1 more week of the drugs! Thanks for popping in.

Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
-------------------------------------
https://sadduck.com
Hi Guys, Thanks for all your input on this. After writing software for many years (albeit a long time ago in a far far away place) This has me stumped as to why it doesn't work. I have tried re-setting it up, in different ways and tried all of your suggestions, still with no luck. it always seem to only recognise the last half of the conditional statements. I did lodge this as a possible bug, but the guys at CC felt this would be a better spot for it.
I'm starting to think I need some of the pills you mentioned 'Gunsmoke"..lol...I can only hope they can stop this craziness that's going on now in my head...LOL...
Daddy I want my dinner NOWWWW....
I'm starting to think I need some of the pills you mentioned 'Gunsmoke"..lol...I can only hope they can stop this craziness that's going on now in my head...LOL...
Daddy I want my dinner NOWWWW....

I know the feeling . . .we'll keep thinking on it . . .

Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
-------------------------------------
https://sadduck.com
Write your own script conditionals to show and hide and add them to the page in an html element.
Your not going to be able to do it with the built in one because of the OR statement.
Your not going to be able to do it with the built in one because of the OR statement.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
It's easy to overlook something you're not looking for.
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
I'm going to probably be wrong, but I'm going to attempt this anyways. So what I was told to do and works for me is using the "not" statement to show what I "don't" want picked, rather than only what I do want picked. In this case I will mimic with letters since I don't know all your choices.
Choice 1
A
B
C
D
Choice 2
E
F
G
H
Choice 3
J
K
L
M
Now you want Choice 3 to show up only if they choose A in choice 1, F in choice 2 and either L or M in choice 3. If I'm mimicking your setup correctly which I hope I am.
It ends up being a very long combo because you have to make is and isnot setups for each choice. Here's what I tried and it seemed to work (didn't publish, only tested preview).
IF Choice 1 is A
and
IF Choice 2 is F
and
IF choice 3 is L
or
IF choice 3 is M
and
IF choice 1 is not B
and
IF choice 1 is not C
and
IF choice 1 is not D
and
IF choice 2 is not E
and
IF choice 2 is not G
and
IF choice 2 is not H
and
IF choice 3 is not J
and
IF choice 3 is not K
Try that setup and see if it works for you. It's a bit more tedius, but it's worked for us in some pretty heavy forms.
Choice 1
A
B
C
D
Choice 2
E
F
G
H
Choice 3
J
K
L
M
Now you want Choice 3 to show up only if they choose A in choice 1, F in choice 2 and either L or M in choice 3. If I'm mimicking your setup correctly which I hope I am.
It ends up being a very long combo because you have to make is and isnot setups for each choice. Here's what I tried and it seemed to work (didn't publish, only tested preview).
IF Choice 1 is A
and
IF Choice 2 is F
and
IF choice 3 is L
or
IF choice 3 is M
and
IF choice 1 is not B
and
IF choice 1 is not C
and
IF choice 1 is not D
and
IF choice 2 is not E
and
IF choice 2 is not G
and
IF choice 2 is not H
and
IF choice 3 is not J
and
IF choice 3 is not K
Try that setup and see if it works for you. It's a bit more tedius, but it's worked for us in some pretty heavy forms.
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.