Problems when using passthrough-field

4 years 1 month ago - 4 years 1 month ago #92845 by pchristoph

I am having issues using passthrough url fields. We are using Version 1.91+ Build 11379 and cannot update to 2.x at that time. We are also using closed access so tokens are initialised.
Here is the scenario:

1) customer logs in on website. once logged in the user has a session-token on the site which is always seen in the URL (GET-parameter)

2) after successful login survey is opened in an overlay (iframe), the website is still visible in the background. to open the survey the above mentioned session token is appended to the url as passthrough-field. this is needed so the user can continue to interact with the website once the survey is completed. this is what the call of limesurvey looks like

3) once the user fills in the survey and submits the last question he can close the survey using a link which is coded in the template. the link is like this{PASSTHRULABEL}={PASSTHRUVALUE }, according to .

However when we open up the surveys {PASSTHRULABEL} and {PASSTHRUVALUE} are not parsed and still displayed as placeholders only.
According to , which is also a topic I started some time ago, as per jelos recommendation, I have tried to add{PASSTHRULABEL}={PASSTHRUVALUE}
. The result is the same - when the end url is displayed {PASSTHRULABEL} and {PASSTHRUVALUE} are not parsed.

I don't necesserily need the end-url at all. I was hoping that by using the appropriate call to limesurvey I could persist the session token I need to return to the website as GET parameter.

Is there something else needed, a setting perhaps, to enable parsing of {PASSTHRULABEL} and {PASSTHRUVALUE}?

Many thanks!
Last Edit: 4 years 1 month ago by pchristoph.

Please Log in to join the conversation.

4 years 1 month ago #92859 by pchristoph
I have also added another question, hid it and gave the qcode sessionToken - just like the PASSTHRULABEL. Calling the survey like mentioned above I was assuming that this would have copied the value of my session token into the answer but that also did not work.

Please Log in to join the conversation.

4 years 1 month ago #92861 by pchristoph
OK, so parsing of PASSTHRULABEL and PASSTHRUVALUE occurs only inside the END-URL. Reading the documentation I would have assumed that those placeholders could be put anywhere in the template but this is not the case.

qcode obviously does not work here because we are running 1.91, qcode is working in 1.92+ only.

Please Log in to join the conversation.