Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Allow Preview of Survey but not submitting

Re: Allow Preview of Survey but not submitting 3 years 8 months ago #56765

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4272
  • Thank you received: 806
  • Karma: 369
Ah, in that case I think that in the last page of the survey you'll need to use {INSERTANS} and set a cookie with the results of the question. The cookie can then be retrieved in the end page and you can display messages accordingly.

There used to be a post describing this but I can't find it. Perhaps the forum cleaners are a little over active.
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.

Re: Allow Preview of Survey but not submitting 2 years 6 months ago #77481

  • pksupport
  • pksupport's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 34
  • Thank you received: 1
  • Karma: 0
Sorry - exactly where would you place this script. In the template, but what page? I can access the actual install on the server directly. I want to hide the submit button for one survey and instead present a URL to take another survey. i can do this with a boilerplate but I don't want a submit button. Thanks.
The administrator has disabled public write access.

Re: Allow Preview of Survey but not submitting 2 years 6 months ago #77484

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4272
  • Thank you received: 806
  • Karma: 369
You can place it in the source of a question or the group description.

See setting up your survey to use JavaScript.
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.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.105 seconds
Donation Image