Welcome to the LimeSurvey Community Forum

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

Links Do Not Open in New Tab (Possible Bug)

  • sbgmedia
  • sbgmedia's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #203839 by sbgmedia
I have created a survey with a link that I want to open in a new tab. This survey is setup as a template and so users import it when creating their own survey.

The issue I am encountering is that if the survey administrator is not a super user the "Target = _blank" setting is lost whenever they import the template survey.

Is there a way to fix that issue?

I have attached a sample survey with a link that opens in a new tab for reference.

File Attachment:

File Name: limesurvey... (1).lss
File Size:17 KB
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203840 by tpartner
Replied by tpartner on topic Links Do Not Open in New Tab (Possible Bug)
What LimeSurvey version are you using?

It works as expected for me in version 3.22.210.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sbgmedia
  • sbgmedia's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #203841 by sbgmedia
Replied by sbgmedia on topic Links Do Not Open in New Tab (Possible Bug)
I am on version 3.19.2+191017.

Are you importing the survey as a user without super admin privileges? Because it works fine when you are a super admin.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203844 by tpartner
Replied by tpartner on topic Links Do Not Open in New Tab (Possible Bug)
Try disabling the XSS filter.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • sbgmedia
  • sbgmedia's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 8 months ago #203845 by sbgmedia
Replied by sbgmedia on topic Links Do Not Open in New Tab (Possible Bug)
Excellent! It worked. Thank you so much.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose