Welcome, Guest
Username: Password: Remember me

TOPIC: Prevent accidentially closing the survey

Prevent accidentially closing the survey 7 months 1 week ago #111051

  • LS_SR
  • LS_SR's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 21
  • Thank you received: 1
  • Karma: 0
Thanks for your fast answer.
The administrator has disabled public write access.

Prevent accidentially closing the survey 1 month 3 weeks ago #116036

  • fanepic
  • fanepic's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Thanks a lot for your Code.
Do you now how it's possible to make en exception for the languagechanger?

Cheers
Benny
The administrator has disabled public write access.

Prevent accidentially closing the survey 1 month 3 weeks ago #116038

  • jonsen
  • jonsen's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 79
  • Thank you received: 7
  • Karma: 1
Hi fanepic,

please try to add ".changelang" to the jQuery "on" action by changing this:
$(document).on('click',".button,[name='move']", ...

to this:
$(document).on('click',".button,.changelang,[name='move']", ...

Please leave a quick comment if this works, otherwise I'll have a closer look.

Best
jonsen
The administrator has disabled public write access.
The following user(s) said Thank You: fanepic

Prevent accidentially closing the survey 1 month 3 weeks ago #116039

  • jonsen
  • jonsen's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 79
  • Thank you received: 7
  • Karma: 1
The administrator has disabled public write access.

Prevent accidentially closing the survey 1 month 3 weeks ago #116042

  • fanepic
  • fanepic's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Thank you jonson works fine.

Do you also now how to make it Multilanguage like only show if it's German?

Regards
fanepic
The administrator has disabled public write access.

Prevent accidentially closing the survey 1 month 2 weeks ago #116085

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5594
  • Thank you received: 319
  • Karma: 254
You can try using the {LANG} placeholder and maybe put everything into an IF statement like
...
if({LANG}=='de')
{
...
}

{LANG} should get replaced by Limesurvey with the current survey language.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.198 seconds
Donation Image