Seeing how people spend an imaginary budget | Experience Community
Skip to main content
Question

Seeing how people spend an imaginary budget


Forum|alt.badge.img+1

Hello - I want to set up a question in which I give people an imaginary budget (let’s say £100 for simplicity). I want to have a variety of options at different price points and respondents can’t be allowed to spend over the £100 budget but they can spend less than their budget. Ideally, I’d like for respondents to be able to select the same option multiple times, however if that’s too complicated we can keep it so that each option can only be selected once.

 

So for example:

 

Option A = £50

Option B = £25

Option C= £10

 

I buy 2x A = fine

I buy 1x B, 1x C = fine

I don’t buy anything = fine (although unlikely)

I buy 10x C = fine

I buy 2x A, 1x B = overspent, shouldn’t pass

 

Thank you in advance!

2 replies

Forum|alt.badge.img+30

If you are not planning to use codes, perhaps you can consider either below

  1. change your question slightly for them to allocate/input the budget to spent for option and use the constant sum question with range requirement of 100 as budget to suit your need. However, for this method, there might be cases where they might just indicate something else like allocating 90 for option A.
  2. (Tedious) use the matrix table question with validation for all possible combinations available within budget of 100. This method requires you to preset all possible combinations allowed for them to continue to the next question.

Mishraji
Level 4 ●●●●
Forum|alt.badge.img+18
  • Level 4 ●●●●
  • October 13, 2026

​@pdunlop ,

 

You can use a constant sum question with 3 statements and control the input for each statement using a JS. For example, allowed values for Option A would be 0, 50, 100. 

  • For multiple of 10: ^([0-9]0|100)$
  • For multiple of 20: ^(0|25|50|75|100)$
  • For multiple of 50: ^(0|50|100)$

Additionally, use the out of the box validation to ensure input sums up to 100.