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

TOPIC: prevent printing of the answer code

Re: prevent printing of the answer code 3 years 2 weeks ago #66634

  • jferring
  • jferring's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
can't wait.... :cheer:

Merci Benoît
The administrator has disabled public write access.

Re: prevent printing of the answer code 3 years 2 weeks ago #66637

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
I had a look at the code and the problem is that you'd have to modify a core function ("aGetFullResponseTable()") to get rid of the values in [] brackets.
One solution might be to search for the first "[" in the string and then get the substring from 0 to the first occurrence of that char. It stil has to be coded though...

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.

Re: prevent printing of the answer code 3 years 1 week ago #67310

  • jferring
  • jferring's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Hi,

it's not the answer option which should be hidden when printing, but the answer code.

Your non-wc3 solution works also on the answer code.

Thanks.
The administrator has disabled public write access.

Re: prevent printing of the answer code 3 years 1 week ago #67324

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5331
  • Thank you received: 296
  • Karma: 249
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

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.

Re: prevent printing of the answer code 2 years 7 months ago #77105

  • sequoia
  • sequoia's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 27
  • Karma: 0
Just some input with my experience using Benitov's workaround using the span style solution, either be 'none' or the CSS 'nocode'.

Working with 1.92+, and noticing also back when using 1.91+ it does work with one exception. If using the IE browser the first answer appears after the question, and all following answer options to that question will be non-viewable. That is, they won't be there, just the first answer. Now that same survey in a Firefox or Chrome browser, no issue at all.

Basically in an IE browser you have a question, with one answer (the first listed) to choose from.

There was comments here of a resolution to this in version 1.92+. Does anyone know if that happened? If so where could I make adjustments to those settings :)

Thanks in advance for any input on this.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.110 seconds
Donation Image