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

TOPIC: Can I do quota management on Tokens fields?

Re: Can I do quota management on Tokens fields? 1 year 9 months ago #89920

  • amoswagon
  • amoswagon's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Karma: 0
Yes. Upgraded to: Version 2.00+ Build 121208

Still doesn't work.
The administrator has disabled public write access.

Re: Can I do quota management on Tokens fields? 1 year 9 months ago #89922

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4207
  • Thank you received: 791
  • Karma: 360
Are you getting any JavaScript errors? Can you activate a test survey for us to see?

T.
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: Can I do quota management on Tokens fields? 1 year 9 months ago #89928

  • amoswagon
  • amoswagon's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Karma: 0
Yes. I do receive Javascript errors.
Even simple javascript to hide the question don't work anymore:

<script type="text/javascript" charset="utf-8">
$("#question{QID}").hide();
</script>Are you?

{QID} and {TOKEN:ATTRIBUTE_1} by themselves work and retrieve the values correctly.

Here is a survey example we I try to hide the question using Javascript:
datachili.invokesolutions.com/index.php/...x/sid/748622/lang/en
The administrator has disabled public write access.

Re: Can I do quota management on Tokens fields? 1 year 9 months ago #89930

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4207
  • Thank you received: 791
  • Karma: 360
Ah, I see.

In 2.0 you need to replace this in startpage.pstpl:
<script type="text/javascript" src="{TEMPLATEURL}template.js"></script>

With this placeholder tag that now includes all required JavaScript:
{TEMPLATEJS}
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.
Last Edit: 1 year 9 months ago by tpartner.
The administrator has disabled public write access.

Re: Can I do quota management on Tokens fields? 1 year 9 months ago #89931

  • amoswagon
  • amoswagon's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Karma: 0
How could I ever find that!?

Thank you so much!!!
The administrator has disabled public write access.

Re: Can I do quota management on Tokens fields? 1 year 9 months ago #89933

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4207
  • Thank you received: 791
  • Karma: 360
Yeah, I know, tricky.

But I thought the upgrade process was supposed to do the replacement automatically.
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.106 seconds
Donation Image