Welcome to the LimeSurvey Community Forum

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

Redirect to the external link then go back to survey

  • rajkumar_dms
  • rajkumar_dms's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 months 1 week ago #265373 by rajkumar_dms
Please help us help you and fill where relevant:
LimeSurvey version: [6.5.13]
Own server or LimeSurvey Cloud:Cloud
Survey theme/template:
==================
Hello Team,
I would like to create a survey in between the survey redirect to the external link after that go back to survey and completed the remaining part of the survey

Please Log in to join the conversation.

More
6 months 1 week ago #265383 by Matadeleo
The easiest way would be to create 2 surveys and split the survey in half:
  • have the first survey generate a unique ID
  • redirect to external link while passing the unique ID with a URL parameter
  • redirect back to survey and passing back the same unique ID
You can then use Excel/SPSS/Editor of your choice to marry up both halves of the survey.

It may be worth asking, for what purpose do you want the respondent to be redirected to an external site? There are only a few cases that come to mind, many others can be handled within LimeSurvey itself with a little creativity.

Please Log in to join the conversation.

  • rajkumar_dms
  • rajkumar_dms's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 months 1 week ago - 6 months 1 week ago #265394 by rajkumar_dms
Replied by rajkumar_dms on topic Redirect to the external link then go back to survey
it required bcoz the external url is a related to a website when they redirect the website then respondent see website then we will ask some question about that website which we redirect it

Can you share any other alternative way to do it
Last edit: 6 months 1 week ago by rajkumar_dms.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 months 1 week ago #265398 by DenisChenu
You can update the extenal website ?

If yes: just put the link to the survey without newtest=Y or lang set.

If not : i think best is to open an iframe in a dialog box, disable survey until dialog is closed.
getbootstrap.com/docs/5.3/components/modal/

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • rajkumar_dms
  • rajkumar_dms's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 months 1 week ago #265400 by rajkumar_dms
Replied by rajkumar_dms on topic Redirect to the external link then go back to survey
Hi,

I can't understood clearly can you elaborate it

Or can you share any lss file for the same

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 months 1 week ago #265401 by DenisChenu
I don't take my time freely to create a lss for you …

Just create a link related to a modal with iframe inside the modal body.
getbootstrap.com/docs/5.0/components/modal/#fullscreen-modal

You have all needed example here

Copy/pasted and quickly adapted
Code:
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">
  Launch demo modal
</button>
 
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-fullscreen">
    <div class="modal-content">
      <div class="modal-header">
        <div  class="h5 modal-title" id="exampleModalLabel">navigate in websitee</div>
        <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        <iframe src="https://mywebsite.example.org">
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
      </div>
    </div>
  </div>
</div>
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 1 week ago #265404 by Joffm
Did you really study the bootstrap documentation?
Did you try the shown examples?
E.g. this?
 
I do not think so.

So, please do this in the future before you ask further questions.
Then you can provide your lss export with your (maybe unsuccessful) try.

Here a wikipedia page in a modal (not full size)
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 months 1 week ago #265405 by DenisChenu

Here a wikipedia page in a modal (not full size)
 
The new `modal-fullscreen` seems really great :)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 1 week ago #265406 by Joffm

The new `modal-fullscreen` seems really great

Fully agreed. But this was an old example.
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
6 months 3 days ago #265470 by davebostockgmail

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 3 days ago #265472 by Joffm
Yeah,
I remembered that you showed this some years ago.
But didn't find it.

One obstacle: The TO uses the cloud version.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 months 3 days ago #265487 by DenisChenu
With such solution : you need access to External website too.

I really think dialog in full screen mode is really the most easy solution, and clean enough.
With some JS : you can surely disable closing dialog screen during X minutes.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose