Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Exclusive option on Multi Text type question.

  • paulfiner
  • paulfiner's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 8 months ago #203975 by paulfiner
I have a Multiple short text question with 3 boxes for the respondent to enter text.
After this question I have a single multi-choice question with one checkbox labelled 'I don't know'.

I would like the text in the 3 input boxes to be removed if they put text in and then click 'I don't know'

Limesurvey v2.70

Thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203981 by tpartner
Replied by tpartner on topic Exclusive option on Multi Text type question.
Why not simply place relevance on the multi-short-text so it is hidden if "don't know" is checked?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • paulfiner
  • paulfiner's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 8 months ago #203982 by paulfiner
Replied by paulfiner on topic Exclusive option on Multi Text type question.
I did try that but it didn't do anything for me.
I used q3dk_1.NAOK!=1 as the equation on each of the 3 text boxes
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203984 by Joffm

q3dk_1.NAOK!=1

This is wrong syntax if you try to access a multiple question.
With q3dk_1!="Y" it should work.





and with this relevance equation in on the whole question it is hidden.


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • paulfiner
  • paulfiner's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 8 months ago - 3 years 8 months ago #203985 by paulfiner
Replied by paulfiner on topic Exclusive option on Multi Text type question.
I managed to fix it - had to use q3dk_1.NAOK!="Y" instead.
Cheers,
Paul

I think our messages crossed Joffm - thanks for looking at it though!
Last edit: 3 years 8 months ago by paulfiner.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose