Welcome, Guest
Username: Password: Remember me

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

Use survey A to create tokens and send invitations to survey B & C 2 years 6 months ago #77768

  • Limer2001
  • Limer2001's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Thank you received: 2
  • Karma: 0
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/ )
The administrator has disabled public write access.

Re: Use survey A to create tokens and send invitations to survey B & C 2 years 5 months ago #77831

  • atiut
  • atiut's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 76
  • Thank you received: 2
  • Karma: 1
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.
The administrator has disabled public write access.

Re: Use survey A to create tokens and send invitations to survey B & C 2 years 5 months ago #77833

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6360
  • Thank you received: 826
  • Karma: 245
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.
Last Edit: 2 years 5 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: Limer2001
Moderators: ITEd
Time to create page: 0.111 seconds
Donation Image