Welcome to the LimeSurvey Community Forum

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

array ----add a text box in one subquestion

  • LisaTW
  • LisaTW's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #215503 by LisaTW
Hi there,
Could this be possible to add a text box in one subquestion of array? Last subquestion is "other,namely........................", participant can write down their own way.
This is a mandatory question. Could this also be changed like this: If participant doesn't write anything, this question can also be submitted. The last row is not mandatory.
I'm using Version 3.25.21.

Thank you in advance.

Lisa


 
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 11 months ago #215529 by Joffm
Here a quick example
   

File Attachment:

File Name: limesurvey... (1).lss
File Size:22 KB


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • LisaTW
  • LisaTW's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #215595 by LisaTW
Replied by LisaTW on topic array ----add a text box in one subquestion
Hi Joffm,
Thank you so much for your kindly help!

Lisa
The topic has been locked.
  • LisaTW
  • LisaTW's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 10 months ago #217589 by LisaTW
Replied by LisaTW on topic array ----add a text box in one subquestion
Hi Joffm,
Thank you for your suggestion one month ago. It works well for my English version survey. 
And there are both English and Dutch versions in my survey, when I design the Dutch version question, the text box is outside of the table(please see attached picture).
Could you help me about this?
And could I make the last subquestion not mandatory?
I'm using Version 3.27.3

Best regards,
Lisa
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #217590 by holch

And could I make the last subquestion not mandatory?

For array questions it is either all subquestions mandatory, or all subquestions not mandatory. There is nothing in between.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 10 months ago #217607 by tpartner
Replied by tpartner on topic array ----add a text box in one subquestion

...when I design the Dutch version question, the text box is outside of the table...

Did you copy the JavaScript into the Dutch question text?

And could I make the last subquestion not mandatory?

You should be able to do this with the question validation equation.

Code:
!is_empty(self.sq_SQ001) AND !is_empty(self.sq_SQ002) AND !is_empty(self.sq_SQ003) AND !is_empty(self.sq_SQ004)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • LisaTW
  • LisaTW's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 10 months ago #217628 by LisaTW
Replied by LisaTW on topic array ----add a text box in one subquestion
Hi Tparter,
Thank you for suggestions!
The problems were all solved.

Best regards,
Lisa
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose