Can I get an answer value by the name of a question (as string) in EM?
1 year 11 hours ago #105799

thanks for your reply. Of course, all parts without qoute are variable, unfortunately I don't need the result of the if-statement as a variable. The tricky thing for me is in the left part of the equation {if({QX.NAOK}...

The problem is:
- I'm having the name of a question (eg.: Q1) stored as a result of a calculation in another question (let's say in QX).
- Now I'd like to access the answer to Q1 by using the calculation result of QX

An example:
The content of QX is "Q1_SQ001" (a string, internally calculated by EM)
The content of Q1_SQ001 will may be "42" (or anything else, edited by a participant, but at survey creation time I don't know if I will have to look for Q1_SQ001 or Q1_SQ002 or Q2_SQ001... => this will be stored in QX)

That is why I'd like to access the result of Q1_SQ001 via indirecet reference of QX.

I hope that's not too confusing

Best regards/Beste Grüße,
O. Villani

The administrator has disabled public write access.

Can I get an answer value by the name of a question (as string) in EM?
1 year 11 hours ago #105803