Welcome to the LimeSurvey Community Forum

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

multiple numeric question type - add dynamic suffixes to each row

More
1 day 1 hour ago - 1 day 57 minutes ago #273493 by tixeon
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.16.3
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: Fruity
==================

Hello,

I require some assistance - I have a randomised multiple numerical input question type where I would like a unique suffix to display next to each input box which changes based on the number typed in (different text displayed whether the number is over, under, or exactly matches a specified amount).

I have managed to create this in a way whereby the required descriptions are displayed in a separate text display question (rather than as a suffix), however this is not ideal as the descriptions are not in-line with each input row (see screenshots and .lss file attached).

Please note that with the desired result I would like it to work with the randomisation, keeping the appropriate descriptions in the correct row even when rows are randomised.

A workaround similar to this may work, but this one does not preserve the randomisation and I'm not sure how to incorporate the {expressions} without breaking the javascript: forums.limesurvey.org/index.php/forum/in...ut-questions?start=0


Any assistance would be greatly appreciated.

Here is what it currently looks like:



Here is what I would like it to look like:




File Attachment:

File Name: budgeting_..._WIP.lss
File Size:45.35 KB


 
Last edit: 1 day 57 minutes ago by tixeon.

Please Log in to join the conversation.

More
13 hours 3 minutes ago #273501 by Joffm
Hi,
I can offer this solution.
An array(text), second column set to "readonly" and filled by a script.
Some css to get different column widths.
 

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

More
7 hours 37 minutes ago #273510 by Joffm
Another question.
Will there be this specific amount in the subquestion text, surrounded by brackets?
Or was this only to test?
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose