- Posts: 28
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
replacing a empty space with a piece of text
- jaws40
- Topic Author
- Offline
- Junior Member
Less
More
9 years 1 month ago #118566
by jaws40
replacing a empty space with a piece of text was created by jaws40
The following problem
I use the output of questions in a multiple choice Q
as in .... You can lift.... {intertransexample1} kg score is {intertransexample1.1}
thats works okee.
It looks like You can lift a box of 10 KG score is 100
Problem is than not in every dossier the example Question is answered previously cause its not relevant
then the text in my multiple choice looks like
you can lift score
It would be nice if there would be a text like "not relevant" to fill in the blanks
something like if empty then....
But i dont know how to realise that in EM
I use the output of questions in a multiple choice Q
as in .... You can lift.... {intertransexample1} kg score is {intertransexample1.1}
thats works okee.
It looks like You can lift a box of 10 KG score is 100
Problem is than not in every dossier the example Question is answered previously cause its not relevant
then the text in my multiple choice looks like
you can lift score
It would be nice if there would be a text like "not relevant" to fill in the blanks
something like if empty then....
But i dont know how to realise that in EM
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
9 years 1 month ago #118568
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 replacing a empty space with a piece of text
Try this:
Code:
{if(is_empty(intertransexample1.NAOK) , 'N/A', intertransexample1.NAOK)}
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: jaws40
The topic has been locked.
- jaws40
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 28
- Thank you received: 1
9 years 1 month ago #118590
by jaws40
Replied by jaws40 on topic replacing a empty space with a piece of text
yup that did the trick. thanx now for a another problem in this project.
Its a Multiple choice question with the comment field.
i would have all the checkmarks on (pre defined) and people are allowed to uncheck then
if the do so they should write in the comment box the reason why they uncheck.... but ....alas... the unchecking the box disables the text box... is there a work around?
Its a Multiple choice question with the comment field.
i would have all the checkmarks on (pre defined) and people are allowed to uncheck then
if the do so they should write in the comment box the reason why they uncheck.... but ....alas... the unchecking the box disables the text box... is there a work around?
The topic has been locked.