Welcome, Guest
Username: Password: Remember me

TOPIC: Changing templete according to a token

Changing templete according to a token 3 years 1 month ago #62243

  • Samba
  • Samba's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 29
  • Karma: 0
Hi,

I was wondering if it is possible to change a templete according to a token.

What i intend to do is to keep 2 tokens for a survey and allow multiple uses to tokens using the workaround mentioned.

So when token "x" is entered it takes the participant to the survey with a particular templete and when token "y" is entered it takes the participant to the survey with a particular templete (basically looks different and has the same question) and the answers are recorded under the datatabase of a single survey.

I havent come across a workaround for this as yet. so i'm guessing some king of javascrit or something.. but havent yet got to any direction on it.

Thanks in advance

I am using the latest release of LS

Regards,
Samba
The administrator has disabled public write access.

Re: Changing templete according to a token 3 years 1 month ago #62248

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4054
  • Thank you received: 740
  • Karma: 341
You can't switch templates but you may be able to use JavaScript to insert another style sheet - forum.jquery.com/topic/loading-stylesheets-on-the-fly
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.100 seconds
Donation Image