Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Pre filled text box value from the url

More
8 years 9 months ago #120726 by Krish
Hello everyone,
I created the survey using lime survey and I hosting it on my own domain. I want to run this from vici dial(it is a open source contact center suite). I run the survey from vici dial by using the following script <iframe style="width:100%; height:100%;" src="http://domainname/index.php?r=survey/index&sid=343925&lang=en">.....Now I want to pre fill my one of the text box called mobile number in the lime survey by getting the value from the following url ...So how can I get succeed in my task...please help me
The topic has been locked.
More
8 years 9 months ago - 8 years 9 months ago #120732 by steve_81
Replied by steve_81 on topic Pre filled text box value from the url
Hi,

there is a workaround for this:
manual.limesurvey.org/Workarounds:_Surve...ling_survey_elements

In your built you obviosly can't use the Name of the question(here: mobile), you have to use the SGQA (SIDXGIDXQID). According to this, your solution should be:
<iframe style="width:100%; height:100%;" src="http://domainname/index.php?r=survey/index&sid=343925&lang=en&343925XGIDXQID=1234567890"></iframe>

where GID=Group-ID and QID=Question-ID
Last edit: 8 years 9 months ago by steve_81.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 9 months ago #120825 by DenisChenu
Replied by DenisChenu on topic Pre filled text box value from the url
Or better : use "mobile" for your question code (since 2.00 version and before)

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose