Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Send error message if user selects more than 2 times "yes" on one page - by: dvenohr

$
0
0
Hi everyone,

I'd like to use limesurvey as a tool for respondents selecting optional items from an item list. I managed to build a survey in which there are 3 items, all of them are selectable through a "yes/no" question type. I'd like limesurvey to only allow the user to select as many as 2 items from 3 (Later there he's allowed to select maybe 25 items from a list of 40 items or so).
What would also be needed in addition is that the maximum of selectable items is defined through a token value, so that the definition of the max-value will be through a value stored in the token table. The purpose of that is that one can assign each potential user a unique max-value.

How could that be achieved? (if it is possible at all?)

One remark: I know an easier way would perhaps be a multiple choice question, however, the task is a bit more complicated. once the user selects one item by clicking "yes", a dropdown-field appears in which he or she can select the exact wording of that item. for achieving an appropriate layout, I used a javascript code which I found in some of the workarounds sections of limesurvey (or in an example lss file, I can't remember exactly).

At the moment the layout of the questions looks like attached...


thanks in advance,
Daniel
(LimeSurvey 2.6.2)

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>