Welcome to the LimeSurvey Community Forum

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

Survey respondents adding more text boxes

  • IlanaWilken
  • IlanaWilken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 5 days ago #160173 by IlanaWilken
Survey respondents adding more text boxes was created by IlanaWilken
Hi everyone

Scenario:
One of my survey questions requires responders to enter 2-5 words as an answer. I would like them to enter each word in its own text box. Is it possible to provide the responders with 3 text boxes initially, and then they can just add two more if required? If it is possible, how do I go about doing it?


Thank you in advance!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 5 days ago #160183 by Joffm
Replied by Joffm on topic Survey respondents adding more text boxes
Hello Ilana,

that's easy.
Provide 5 textboxes, and open three and after the third is filled open the fourth, ...

Set the relevance of fourth box to "!is_empty(Q1_SQ003)"
and the relevance of fifth box to "!is_empty(Q1_SQ004)"







Of course you cannot avoid people entering in the first box "abc, def, rgh, zui, tre"

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • IlanaWilken
  • IlanaWilken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 days ago #160202 by IlanaWilken
Replied by IlanaWilken on topic Survey respondents adding more text boxes
Thank you so much, this really helped!

I have a follow-up question now. I would like to make the question mandatory, but still allow the respondent to only enter three words, should they wish to do so. Would that be possible?

Thank you again.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 4 days ago - 7 years 4 days ago #160206 by Joffm
Replied by Joffm on topic Survey respondents adding more text boxes
Hello, Ilana,
do not set the question to "mandatory".

Force them to enter at least three words by setting one of these two proposals (which both are obvious):

1. Advanced settings / minimum answers: 3

2. Advanced settings / question validation equation: (!is_empty(tb_SQ001) AND !is_empty(tb_SQ002) AND !is_empty(tb_SQ003))
Additionally you can set your own "question validation tip", e.g. "Please enter at least three words".

So use what you like best.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 4 days ago by Joffm.
The topic has been locked.
  • IlanaWilken
  • IlanaWilken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 4 days ago #160208 by IlanaWilken
Replied by IlanaWilken on topic Survey respondents adding more text boxes
Thank you so much once again. You really saved me hours of figuring it out.

Have a good day!
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose