Pre Populating Fields in Limesurvey
Here’s the scenario - I am building an assessment using limesurvey but I want to collect the prospects name and email and put them on the general marketing list before they DO the assessment.
I also want to know who submitted the answers BUT I don’t want them to have to re type their name and email to DO the assessment (I want those fields to be filled in when they click the link in an email and I don’t want to mess around with anything complicated like an API or anything like that - I just want to make a customized link that will do all the work for me.
Since I know you can send variables in a url to limesurvey - this is the easiest means to an end…
http://docs.limesurvey.org/SGQA+identifier#Identifier_for_Single_Choice_Questions
The Survey ID -Survey Can You Build Your Own Website? (ID:72632)
Question group Contact (ID:13)
The ID for the questions I want to have answered when they click the link in the email”
Question Your Name (ID:152)
Question Your Email (ID:153)
The SGQA* Identifier for each part (sgqa sounds confusing but it’s really just the three ID’s for the questions I want to provide answers for laid out like this surveyIDXQuestionGroupXQuestionID
So if I add the following to the url of the assessment:
&72632X13X152=First_Name
&72632X13X153=email@address.com
I end up with this as the link for the email:
http://survey.spintheweb.com/start/index.php?sid=72632&72632X13X152=First_Name&72632X13X153=email@address.com
Now all I have to do is set up the email to include this. (this is trivial in any good email system)
If your mail platform doesn’t allow you to add a prospects first name and email address as variables - you need a better mail system…