Welcome to the LimeSurvey Community Forum

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

Redraw a number based on a condition

  • LSWipo
  • LSWipo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago #229944 by LSWipo
Redraw a number based on a condition was created by LSWipo
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey 3.0 theme editor 
Own server or LimeSurvey hosting:
Survey theme/template: test_theme (test_theme)
==================
Hello, 

In my survey, respondents are asked to select between two jobs based on some characteristics. I need the payment option redrawn if one job is strictly better than the other. 
A better job means: more flexibility in terms of setting your own hours, more vacation days, less deadline pressure, more days to work from home, less multitasking, better pay and less commuting time to work. If in the experiment, one job is better than the other job in every aspect or the hourly payment in both jobs is the same, the payment must be redrawn. This redrawn can be applied two times. I added EXP*randpay variables to set the condition but the code does not work. Could you please help me with this? 

Please see the lss export. 

 

File Attachment:

File Name: limesurvey... (1).lss
File Size:1,190 KB


 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 8 months ago #229946 by Joffm
Replied by Joffm on topic Redraw a number based on a condition

I added EXP*randpay variables to set the condition

Where? I only saw them in the condition of "EXPxRandpayV2"
  

but the code does not work.

Which code doesn't work? The relevance equation of "RandpayV2"? Or?
So please: Extract the parts that are relevant to show the issue and send only this as lss.

And: I already showed you how you could shorten this monstrosity tremendously.

Joffm

P.S. Ehrlich gesagt: Das tue ich mir wirklich nicht noch einmal an.
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • LSWipo
  • LSWipo's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 8 months ago #229947 by LSWipo
Replied by LSWipo on topic Redraw a number based on a condition
Dear Joffm,

Thank you for your reply.

I know that you showed me before how to shorten the survey but I am not the owner of the survey. I only try to apply what I am asked to do at that moment. I am sorry for not applying everything that you told me before but it is not totally up to me.

Please see the lss export with relevant parts and separately for the questions.

The code is in the relevance equation of Exp*RandpayV2 and EXP*RandpayV3. I guess the code does not work.

I will appreciate it if you could help.

 

File Attachment:

File Name: limesurvey...7167.lss
File Size:1,064 KB

 

File Attachment:

File Name: limesurvey...ayV2.lsq
File Size:6 KB
 

File Attachment:

File Name: limesurvey...ayV3.lsq
File Size:6 KB

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose