Can I overwrite token value once the survey is submitted?

More
1 month 6 days ago #158478 by DanielVN
DanielVN created the topic: Can I overwrite token value once the survey is submitted?
Hi,

I'm working on a multi country sample only project.

I have a client that have scripted a survey on lime and have committed the sampling process to my company. As this is a multi country project I'm using 3 Partners for different countries.

For each partner I have created a separate set of unique tokens, which were imported on my side and on the client's side as well. The redirects for the Partners are using the tokens as a replacement for their unique ID's and a set of live links is provided to all Partners.

This setup is working properly except for one of the Partners.

The system that they are using requires specific value for a variable (UID) for their redirects to work. So the end link that they have provided looks like the one below:

r.mintvine.com/nq/?uid=

Initially I have tried to append the value of the token to UID as this is working just fine for the other two Partners so the end link would look like the one below:


r.mintvine.com/nq/?uid= '' + token;

Unfortunately this is not working for them as they will need the value of the UID passed back to them in the redirects.

Since the value is generated randomly for each respondent on their side they are not able to provide me with the values beforehand.

As a potential solution I was thinking to provide them with live links like the ones below:

vnmarketresearch.eu/panel/index.php/surv...newtest/Y/uid/{their ID}

So, for each token value I will have a unique UID value as well. Then I will store the UID value from the live link using panel integration and overwrite the value of the token with the stored value of the UID.

Is this possible?

Any additional ideas are highly appreciated.


N.B. The project is already live for the rest of the Partners/countries and I and the client are not able to close it to add/remove any new variables.

Thank you very much in advance.

Please Log in to join the conversation.

More
1 month 6 days ago #158488 by DenisChenu
DenisChenu replied the topic: Can I overwrite token value once the survey is submitted?
Hi,

manual.limesurvey.org/URL_fields

Then
1. Add uid question : short text/hidden
2. Use it in EndUrl

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 month 6 days ago #158489 by DanielVN
DanielVN replied the topic: Can I overwrite token value once the survey is submitted?
Hello,

Thank you for the quick reply, however the project is active for all other Partners and it's not possible to close it in order to add the new questions.

Also i believe that this new question should be added to both redirect and main surveys. Is that correct?

Having this in mind is there a possibility to overwrite the value of the token with UID?

Thank you in advance.

Please Log in to join the conversation.

More
1 month 6 days ago #158496 by DenisChenu
DenisChenu replied the topic: Can I overwrite token value once the survey is submitted?
Adding this new question take less than 5 minutes … the system is broken without it.

Else : you need to create and develop a specific plugin

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now