Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Setup a "budget" question type

Setup a "budget" question type 2 years 5 months ago #54668

  • starmonkey
  • starmonkey's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi Guys,

I'm evaluating the use of limesurvey to manage a bunch of "application forms" for a client. Many forms share the data input of a "budget", where the applicant will list the income/expenses of their application as per this example below:

budget-example.png


What I'm wondering is - how possible is this within the context of the LS framework, and has something similar been done already?

I was originally hoping I could approximate this with multiple numerical inputs (eg two fields: income + expenses could suffice) but that assumes a predefined list of options, whereas a "budget" can have any number of abitrary (per applicant) options with values.

My next step is to read up on creating my own custom question type which I suspect is the way forward.

cheers,
SM
The administrator has disabled public write access.

Re: Setup a "budget" question type 2 years 5 months ago #54691

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2927
  • Thank you received: 446
  • Karma: 253
What about using 3 (or 4) multiple-short-text questions and then a little CSS magic to display the questions side by side. This seems (to me) to be easier than creating a new question type.

It should be fairly easy to map the responses in analysis if you give the questions the same answer codes.
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: starmonkey

Re: Setup a "budget" question type 2 years 5 months ago #54705

  • starmonkey
  • starmonkey's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Thanks for the reply.

I had a quick go at setting that up but the problem is that each "row" of the incomes/expenses has 2 values - the text description of each item and its monetary value, eg:

Widgets - $34.99

What I was thinking was that you could define 3 fields/questions:
  1. Incomes - long free text
  2. Expenses - long free text
  3. Budget Totals - multiple numerical input

The 2 x free text questions could be css'd to align side-by-side, and the budget totals question could have 3 subquestions - Total Income, Total Expenses, Net Budget.

The value of "Net Budget" could be computed automatically from the two totals.

Come to think of it, so could the Total Income/Expenses fields since it can assume each line of the textarea fields have a numerical value in there somewhere.

So yeh - a little JS tinkering and we've have a system in place that wouldn't be too hard to use?

// SM
Last Edit: 2 years 5 months ago by starmonkey.
The administrator has disabled public write access.

Re: Setup a "budget" question type 2 years 5 months ago #54710

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 2927
  • Thank you received: 446
  • Karma: 253
Yep, that works too but if you want the multis side-by-side you should be able to hide any unwanted text desriptions with CSS/JavaScript.
Cheers,
Tony

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Setup a "budget" question type 2 years 5 months ago #54715

  • starmonkey
  • starmonkey's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Ah yes I understand now what you mean - cheers for the help!
The administrator has disabled public write access.

Re: Setup a "budget" question type 4 months 3 weeks ago #91612

  • dweisser
  • dweisser's Avatar
  • NOW ONLINE
  • Gold Donor
  • Posts: 70
  • Thank you received: 2
  • Karma: 3
Ay mates - I know this post is old. But would some lend a non-coder a hand and post the CSS that did the trick here? Scouring the forum for the search term "side by side" and striking out.
Any help would be much appreciated.
-Nebraska
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: DenisChenu, ITEd
Time to create page: 0.184 seconds
Donation Image