- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Append existing responses?
- gewrtyh
- Topic Author
- Offline
- New Member
Less
More
1 week 4 days ago #263400
by gewrtyh
Append existing responses? was created by gewrtyh
I have a single survey with two variations: basic and full. By default it's basic, but full questions are enabled by prefilling a hidden yes/no via an URL field.
Now, it's an open-access survey and people can fill out either basic or full, however it is implied that after filling out the basic one, they would fill out the full one too, but not all people are going to do that.
So, I'd like to let those that have filled out basic questions to fill out full questions afterwards too, and have them be in a single response.
My question is, is it possible to append existing responses like this? How?
It would also be good if it could check the uniqueness of a submitted response by comparing a hash of email + name against existing responses.
Now, it's an open-access survey and people can fill out either basic or full, however it is implied that after filling out the basic one, they would fill out the full one too, but not all people are going to do that.
So, I'd like to let those that have filled out basic questions to fill out full questions afterwards too, and have them be in a single response.
My question is, is it possible to append existing responses like this? How?
It would also be good if it could check the uniqueness of a submitted response by comparing a hash of email + name against existing responses.
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13716
- Thank you received: 2502
1 week 4 days ago #263407
by DenisChenu
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 Append existing responses?
About uniqueness : why you don't activate participant and allow registering ?
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.
Please Log in to join the conversation.
- gewrtyh
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
1 week 4 days ago #263414
by gewrtyh
Replied by gewrtyh on topic Append existing responses?
I need people to be able to fill out multiple responses on behalf of others, but name + email must not repeat. You tell me though, maybe I'm overlooking something
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13716
- Thank you received: 2502
1 week 4 days ago #263417
by DenisChenu
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 Append existing responses?
Test this :
manual.limesurvey.org/Participant_settin..._public_registration
Only one answer by email.
Only one answer by email.
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.
Please Log in to join the conversation.
- gewrtyh
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
1 week 4 days ago #263421
by gewrtyh
Replied by gewrtyh on topic Append existing responses?
Sorry if I was being unclear: the survey has questions that ask for email and preferred name. One person should be able to fill out multiple responses, but among them the email + name must not repeat. Then, existing responses of the basic questions can be appended with the full questions, which I imagine can be done via some kind of tokens, but I can't give them out since it's an open-access survey
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13716
- Thank you received: 2502
1 week 4 days ago #263423
by DenisChenu
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 Append existing responses?
Validation on the name question
manual.limesurvey.org/StatFunctions
I use EMAIL and NAME for the title of the questions
1. Create an equation question (EMAILNAME) with equation set to {join(EMAILNAOK,NAME.NAOK)} (same group)
2. In NAME validation : {statCountIf(EMAILNAME.sgqa, EMAILNAME.NAOK) < 1} and set tip to : This name was already used with this email
It work only for Submitted value, if you want to really avoid duplicate {statCountIf(EMAILNAME.sgqa, EMAILNAME.NAOK, 0, 0) < 1}
manual.limesurvey.org/StatFunctions
I use EMAIL and NAME for the title of the questions
1. Create an equation question (EMAILNAME) with equation set to {join(EMAILNAOK,NAME.NAOK)} (same group)
2. In NAME validation : {statCountIf(EMAILNAME.sgqa, EMAILNAME.NAOK) < 1} and set tip to : This name was already used with this email
It work only for Submitted value, if you want to really avoid duplicate {statCountIf(EMAILNAME.sgqa, EMAILNAME.NAOK, 0, 0) < 1}
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.
Please Log in to join the conversation.
- gewrtyh
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
1 week 3 days ago #263456
by gewrtyh
Replied by gewrtyh on topic Append existing responses?
I'm running LimeSurvey Community Edition Version 6.4.8+240221 and statCountIf is undefined
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13716
- Thank you received: 2502
1 week 9 hours ago #263721
by DenisChenu
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 Append existing responses?
When there are a link : please read until endBefore using these functions the plugin must be activated in Plugin Manager. Scan the files there and then install and activate the plugin.
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.
Please Log in to join the conversation.