- Posts: 1
- Thank you received: 0
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
- Krish
- Topic Author
- Offline
- New Member
Less
More
8 years 10 months ago #120726
by Krish
Pre filled text box value from the url was created 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
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.
- steve_81
- Offline
- Premium Member
Less
More
- Posts: 136
- Thank you received: 37
8 years 10 months ago - 8 years 10 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
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 10 months ago by steve_81.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
8 years 10 months ago #120825
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 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.