Welcome to the LimeSurvey Community Forum

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

Match two Limesurveys via ID

  • fakirsch
  • fakirsch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #114613 by fakirsch
Match two Limesurveys via ID was created by fakirsch
Hi,

I have two Surveys. The first contains an URL to the second and I want to share the ids. I know that I can send the SAVEDID via the end-URL but due to my design I can't use the end-URL. It seems that Limesurvey delete all hyperlinks that contains limesurvey variables (like SAVEDID). So my first thought was to match the surveys via IP and Time-stamp but that seems suboptimal and error-prone.
Do you have any ideas?

Thanks in advance,
Fabian
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #114629 by tpartner
Replied by tpartner on topic Match two Limesurveys via ID

It seems that Limesurvey delete all hyperlinks that contains limesurvey variables (like SAVEDID).

I don't understand this. How are you finding that?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • fakirsch
  • fakirsch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #114631 by fakirsch
Replied by fakirsch on topic Match two Limesurveys via ID

tpartner wrote:

It seems that Limesurvey delete all hyperlinks that contains limesurvey variables (like SAVEDID).

I don't understand this. How are you finding that?


If you want to create a hyperlink that contains a variable like SAVEDID, the hyperlink is deleted. For example:

<a href=" google.com/ ">CLICK
--> that works

but
<a href=" google.com ?id={SAVEDID}/">CLICK</a>
--> that didn't work

Limesurvey delete the hyperlink and the result looks something like this:
1">CLICK

where 1 is the corresponding SAVEDID.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 4 months ago #114638 by Mazi
Replied by Mazi on topic Match two Limesurveys via ID
1. Where do you enter the hyperlinks?

2. Which Limesurvey version do you use? Can you reproduce this at our demo ( demo.limesurvey.org/admin )?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • fakirsch
  • fakirsch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #114649 by fakirsch
Replied by fakirsch on topic Match two Limesurveys via ID
Here are some Screenshots.

1. I enter a source-code like the first pic (hyper 1).

2. I click "SAVE".

3. The result look like the second pic (hyper 2).



Paradoxically, the same procedure works fine in your demo.
I have Version 2.05+ (Build 141003).
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 4 months ago #114651 by Mazi
Replied by Mazi on topic Match two Limesurveys via ID
You may have to disable the XSS filter at global settings -> security.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • fakirsch
  • fakirsch's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #114653 by fakirsch
Replied by fakirsch on topic Match two Limesurveys via ID
That works! Thank you very very much!! :)
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 4 months ago #114655 by Mazi
Replied by Mazi on topic Match two Limesurveys via ID
You're welcome! If our hints have been helpful and you enjoy Limesurvey please consider a donation to the team (see donate.limesurvey.org ) . We do all this in our free time and you don't have to pay a penny for this software.
Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose