- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Default answer for dropdown list - not getting it to work
- Jean38
- Topic Author
- Offline
- New Member
Less
More
2 years 10 months ago #217158
by Jean38
Default answer for dropdown list - not getting it to work was created by Jean38
Hello,
After trying and comparing things, I couldn't figure out how I can get a simple scenario like the Limiting Max Number of Responses in Survey Using a Hidden Question example.
Basically, I want to reproduce that little example. However, aside from importing it into Limesurvey, I can't figure out how to set up the default value so that the quota increases silently after each submission.
I've tried on 3 different installations, including the demo one. The problem seems to be coming from the 'Edit default answer values', which shows a one-list choice that can't be exploited later on.
This is how it translates (logically) in the web interface:
I don't see any way to correct/ override the default value, which is just a drop-down selection in the web interface.
I am trying to figure out what it is that I am missing... or if I'm hitting a bug?
Tested on 4.4.14 and 4.6.3 with the same results.
I got it working from the sample, but I would love to be able to do this on my own...
After trying and comparing things, I couldn't figure out how I can get a simple scenario like the Limiting Max Number of Responses in Survey Using a Hidden Question example.
Basically, I want to reproduce that little example. However, aside from importing it into Limesurvey, I can't figure out how to set up the default value so that the quota increases silently after each submission.
I've tried on 3 different installations, including the demo one. The problem seems to be coming from the 'Edit default answer values', which shows a one-list choice that can't be exploited later on.
This is how it translates (logically) in the web interface:
- Using the sample provided in the documentation
- When attempting to re-create that example on a new survey (from the demo site)
I don't see any way to correct/ override the default value, which is just a drop-down selection in the web interface.
I am trying to figure out what it is that I am missing... or if I'm hitting a bug?
Tested on 4.4.14 and 4.6.3 with the same results.
I got it working from the sample, but I would love to be able to do this on my own...
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3975
2 years 10 months ago #217161
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Default answer for dropdown list - not getting it to work
This "value="Quota"... seems to be a bug in version 4.x. I could reproduce in 4.5.0.
Works as expected in 3.x.
But I do not know why a hidden question of type "drop-down" is used.
In my opinion you should use a question of type "equation" which you set to "1"
And the quota definition
Joffm
Works as expected in 3.x.
But I do not know why a hidden question of type "drop-down" is used.
In my opinion you should use a question of type "equation" which you set to "1"
And the quota definition
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Jean38
The topic has been locked.
- Jean38
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
2 years 10 months ago #217164
by Jean38
Replied by Jean38 on topic Default answer for dropdown list - not getting it to work
Oh, I didn't realise I could use an Equation for this. I got carried away following previous threads and Limesurvey manual, didn't even think of it as an option.
It's a better and more straightforward alternative, too!
It's a better and more straightforward alternative, too!
The topic has been locked.
- DenisChenu
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
2 years 10 months ago - 2 years 10 months ago #217224
by DenisChenu
In 3.X : only dropdown and checkbox are allowed for Quota.
Id previous version work on 3.X but not on 4.X : someone can report the issue ? This can break a lot of survey.
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.
Replied by DenisChenu on topic Default answer for dropdown list - not getting it to work
Because in a dropdown : you can have more option than Y/NBut I do not know why a hidden question of type "drop-down" is used.
In 3.X : only dropdown and checkbox are allowed for Quota.
Only in 4 or more ? It work in 4 , great news !In my opinion you should use a question of type "equation" which you set to "1"
Id previous version work on 3.X but not on 4.X : someone can report the issue ? This can break a lot of survey.
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: 2 years 10 months ago by DenisChenu.
The topic has been locked.