Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Self.close() on exit and clear survey

Self.close() on exit and clear survey 2 years 9 months ago #101378

  • mb7419
  • mb7419's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hi,

I integrating limesurvey as an iframe in my Drupal site using Limesurvey Sync module.

I am having trouble exiting the survey if the user chooses Exit and Clear Survey as the Exit and Clear Survey leads to a "Clear the Window" link which on clicking calls javascript:self.close().

Would really appreciate if someone could guide to replace the javascript.self.close() call with a link for an End Url. A general search for the self.close() call only points to jquery.notify where making changes does not seem to work ?

Regards,
Attachments:
The administrator has disabled public write access.

Self.close() on exit and clear survey 2 years 9 months ago #101389

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6230
  • Thank you received: 1382
  • Karma: 539
In clearall.pstpl, you can replace the {CLOSEWINDOW} tag with anything you want.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu, mb7419

Self.close() on exit and clear survey 2 years 9 months ago #101398

  • mb7419
  • mb7419's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Thanks !!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.253 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form