Relevant equation

More
2 months 3 weeks ago #170661 by LSSSurvey1
LSSSurvey1 created the topic: Relevant equation
Hi,
which programming language should we use in the relevant formula? i have basic formula but couldn't get it to work..
My first question is (select your location), second question has array with 10 subquestion that i need to put relevant formula in each one of them so it shows up only if the relevant location is selected!.. any help please?

i tried all the below
G1Q00001 == 'Arizona' OR G1Q00001 == 'Texas'
[G1Q00001 == 'Arizona' OR G1Q00001 == 'Texas']
[((G1Q00001 == 'Arizona' OR G1Q00001 == 'Texas'))]
[((G1Q00001 == 'Arizona') OR (G1Q00001 == 'Texas'))]

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #170663 by tpartner
tpartner replied the topic: Relevant equation
You need to use answer codes, not answer labels.
G1Q00001 == 'A1' OR G1Q00001 == 'A2'

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: LouisGac

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!