Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Simple relevance equation that uses multiple radio lists questions not working

Simple relevance equation that uses multiple radio lists questions not working 7 Monate 3 Wochen her #99187

I have a fairly simple questionnaire with a couple of simple skip requests that I can't get to work and it is driving me mad. I have tried using numeric codes, string codes, nothing seems to work.

e.g.

There is a group (call it GA) of simple questions with list/radio select one responses: Q1, Q2 and Q3

There is a group (GB) following the three questions.

Q1/Q2/Q3 all have the same answer codes: 1/2/3 (or A1/A2/A3, A/B/C, X/Y/Z, whatever)

Say Q2 gets skipped if Q1 == 1

Everyone gets asked Q3

Now, assume group GB only gets asked if Q1 == 1 or Q2 == 2 (for example)

For the relevance equation in GB I put: Q1 == 1 or Q2 == 2

The group will not get asked. Is it because Q2 is being skipped? Should I make an equation questions that is true if "Q1 == 1 and Q2 == 2" and false otherwise and use that question for relevance?

I tried adding is_empty checks with no luck. If I remove the "or" and try both statements individually than works for each one but not with both, or it might work for the first instruction (before the or) but not for the second. Like I said I've tried both numeric and string codes (e.g. 1 and "A1"), different ways of wording the same expressions and nothing works.

I've tried all kinds of things like checking is_empty, multiple ways of or and ! combos to try and get it to work.

It seems like a simple skip pattern. What am I missing?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Simple relevance equation that uses multiple radio lists questions not working 7 Monate 3 Wochen her #99188

Looks like after a little more digging I found the answer.

I needed to append NAOK to the skipped questions in the relevance equation (I had both a group level and question level instance) and everything worked:

Q1.NAOK == 1 or Q2.NAOK == 2

Holy cannoli that was driving me bonkers.

I am assuming that the proper equation would be:

Q1 == 1 or Q2.NAOK == 2

since Q2 is the question that is potentially skipped.
Letzte Änderung: 7 Monate 3 Wochen her von nonlinear314.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Simple relevance equation that uses multiple radio lists questions not working 7 Monate 3 Wochen her #99200

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 5830
  • Dank erhalten: 711
  • Karma: 220
I always add .NAOK ;) even if question are always shown.

But here : i think you must update your question code: question code MUST be unique if you use EM.

GAQ1,GAQ2,GAQ3 ...
GBQ1,GBQ2 etc ....
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Simple relevance equation that uses multiple radio lists questions not working 7 Monate 3 Wochen her #99214

Thanks for the tip/response. I (or my clients) use unique question names based on the group name I just used Q1/Q2/Q3 to simplify the example.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.132 Sekunden
Donation Image