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 8 months ago - 9 years 8 months 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 8 months 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 8 months 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 8 months 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 8 months 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 7 months 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 & Official Partner
  • LimeSurvey Community Team & Official Partner
More
9 years 7 months ago - 9 years 7 months ago #117819 by DenisChenu
No need of JS here. EM can do it.

www.limesurvey.org/manual/Question_type_..._.28max_num_value.29
www.limesurvey.org/manual/Question_type_...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 support - Plugins, theme and development .
I don't answer to private message.
Last edit: 9 years 7 months ago by DenisChenu.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose