Welcome to the LimeSurvey Community Forum

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

budget style - X credits available to distribute among Y questions

  • crysman
  • crysman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago - 9 years 1 month ago #117735 by crysman
Demo scenario:
  • I have 25 questions.
  • I give users 25 "credits" to spend on various questions.
  • Maximum credits assigned by one user to one question is 5 (but might be 0, too).

System controls that:
  1. Total amount of credits is not exceeded
  2. No question has more than 5 credits assigned

Simple example:
QuestionCredits assigned
Question 12
Question 25
......

Is this possible to achieve in limesurvey? Thanks
Last edit: 9 years 1 month ago by crysman. Reason: bad readability
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 month ago #117736 by holch
This is not part of the scope of Limesurvey.

However, you could try to do something with Expression Manager and general maximum.

So you could build a control question that reads the values attributed to the questions.

However, this depends very much on the type of question that you are using.

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.
  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
9 years 1 month ago #117739 by c_schmitz
Well,

you could do with a multiple numerical question - but the questions have all to be subquestions of that question. In the advanced question settings you can set the maximum suum they have to meet.

Best regards

Carsten Schmitz
LimeSurvey project leader
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 weeks ago #117747 by holch
Carsten, thought about this too, but I am not sure if this works in this case. I am not sure if you can limit each box to 5 and I think you can't proceed if you don't make it to the maximum... But worth a try, depends of course about the specific example.

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.
  • crysman
  • crysman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 weeks ago #117752 by crysman
OK, thanks for some hints, subquestions won't be a problem, problem will be that user wouldn't be notified how much "credit" he/she has...


I might try it, or programme myself some easy javascript form..
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 3 weeks ago - 9 years 3 weeks ago #117819 by DenisChenu
No need of JS here. EM can do it.

manual.limesurvey.org/Question_type_-_Mu..._.28max_num_value.29
manual.limesurvey.org/Question_type_-_Mu...28max_num_value_n.29

Each can be taken from attribute or another question (even Equation)

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: 9 years 3 weeks ago by DenisChenu.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose