- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
EM equation is not workable for Gender type question.
- newwukong
- Topic Author
- Offline
- New Member
Less
More
7 years 6 months ago #143608
by newwukong
EM equation is not workable for Gender type question. was created by newwukong
I am try to use the expression manager to control the question text.
for example:
Adjust a text, e.g. write "Mr" or "Mrs" depending on a gender question asked before.
but it's not workable, anyone can test it?
for example:
Adjust a text, e.g. write "Mr" or "Mrs" depending on a gender question asked before.
but it's not workable, anyone can test it?
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12923
- Thank you received: 3977
7 years 6 months ago - 7 years 6 months ago #143611
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic EM equation is not workable for Gender type question.
Hi, newwukong,
just write into the question text:
Good morning {if(gender==1,'Mr.','Mrs')} Smith.
"gender" as a list options question
where "gender" is the question code
1 is the code for "male".
If you have "gender" as a question of type "gender", it is:
{if(gender=='M','Mr.','Mrs')}
Best regards
Joffm
just write into the question text:
Good morning {if(gender==1,'Mr.','Mrs')} Smith.
"gender" as a list options question
where "gender" is the question code
1 is the code for "male".
If you have "gender" as a question of type "gender", it is:
{if(gender=='M','Mr.','Mrs')}
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 6 months ago by Joffm. Reason: Typo
The following user(s) said Thank You: newwukong
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
7 years 6 months ago #143631
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic EM equation is not workable for Gender type question.
If your survey language is English, what about if the title should be Ms or Dr? I think you need to explicitly ask title.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- newwukong
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 5 months ago #144285
by newwukong
Replied by newwukong on topic EM equation is not workable for Gender type question.
Hi Joffm,
Thanks a lot, it's OK!
Thanks a lot, it's OK!
The topic has been locked.