Use survey A to create tokens and send invitations to survey B & C

More
5 years 2 months ago #77768 by Limer2001
Limer2001 created the topic: Use survey A to create tokens and send invitations to survey B & C
Hi,

I have the following challenge:


Person A: fills (open) survey A with the data (firstname,lastname,email) for person B and person C.


After this:

Token for survey B gets created and invite is sent to person B.

Token for survey C is automatically created and invitation is send for survey C. But in the email (and if possible welcoming screen) for this survey i need to mention the name(firstname;lastname) of person B. (e.g. Dear person C, this is an invitation to answer a survey about {firstnamepersonB}{lastnamepersonB}

I would really like to hear your thoughts and ideas on how to, if possible, realize this.
I did some research and found that maybe Cronjob limesurvey script could easily help me to automatically do the sending of questionairres. (from www.limesurvey-templates.com/ )

Please Log in to join the conversation.

More
5 years 2 months ago #77831 by atiut
atiut replied the topic: Use survey A to create tokens and send invitations to survey B & C
Hi Limer2001

If person A is a trained interview operator or at least acts in a controlled environment i might be able to propose a solution. Let me know.

Please Log in to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #77833 by DenisChenu
DenisChenu replied the topic: Use survey A to create tokens and send invitations to survey B & C
Hello,

- A ending php script with SAVEDID and SID ( autolaoding URL http://myurl?sid={SID}&savedid={SAVEDID} )
- In this script, get the answer of lime_survey_{SID} WHERE id={SAVEDID}
- From the answer create the 2 token line (if it doesn't exist)
- Send the 2 email with the good link

Not really difficult but need some work, 4 day of work[*] at first glance.

Denis
* Professionnal services.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Last Edit: 5 years 2 months ago by DenisChenu.
The following user(s) said Thank You: Limer2001

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now