Welcome to the LimeSurvey Community Forum

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

Multiple Answers for Textarea Question

  • AJones01
  • AJones01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #179864 by AJones01
Multiple Answers for Textarea Question was created by AJones01
Greetings,

I'm on a very strict deadline (just got told about a project today) to create a form and I don't have much time to research what I need and will have to ask. I need one of the questions that is a text area that can allow me to use multiple answer options. This must be done as a textbox as the user should already know one of the options.

For example one of the following options is acceptable:
- Red33
- Beef22
- Blue454
- C238

Any other entries won't be allowed. Similar to that of a password.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago - 5 years 1 month ago #179869 by DenisChenu
Replied by DenisChenu on topic Multiple Answers for Textarea Question
Yes , and ? What is your question ?

Maybe you need a link to manual ?

Think this one have your answer : manual.limesurvey.org/Expression_Manager


Else
«I need one of the questions that is a text area that can allow me to use multiple answer options.» I don't undertsant : it's a textarea or multiple textarea

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 years 1 month ago by DenisChenu.
The following user(s) said Thank You: AJones01
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago #179877 by Joffm
Replied by Joffm on topic Multiple Answers for Textarea Question
Hi,
what I understand is:
The respondent enters a text into a textbox (e.g. "short text"), but only some options are allowed.
Well, you can validate.
Simple: something like (Q1=="Red33") OR (Q1=="Beef22") OR ...

But what if the respondent enters "RED33" or "Red 33".
Then the expression has to be more sophisticated.
Something like:
(strtoupper(str_replace(" ","",Q1))=="RED33") OR ...

Maybe I misunderstood; then please send an example (*.lss)

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: AJones01
The topic has been locked.
  • AJones01
  • AJones01's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 1 month ago #179898 by AJones01
Replied by AJones01 on topic Multiple Answers for Textarea Question
Thank you, the first sample provided will work for this case. I do need to entries to be "As Is".
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose