Welcome, Guest
Username: Password: Remember me

TOPIC: change warning message on a ranking question?

change warning message on a ranking question? 3 years 1 month ago #65577

  • bwoo5
  • bwoo5's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 80
  • Thank you received: 4
  • Karma: 0
I have a ranking question where I need them to rank minimum 3 items. I have code in the source code of the ranking question to make it so you can click and drag the items. My problem is that if the person doesn't select 3 items, the warning message says "you must rank at least 3 items in question (question text.. but also includes the source code text)
Is there any way to make it not include the source code text and just have the question text?
I downloaded the language file to try to edit this but the string is
Please rank at least %d item for question \"%s\"
if i remove the \"%s\" I get an error when trying to save it.
I either need to just not show the source code text in the warning message or make it so the warning message just says "please rank the minimum number of items for this question"

Thanks =)
The administrator has disabled public write access.

Re: change warning message on a ranking question? 3 years 1 month ago #65664

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4293
  • Thank you received: 810
  • Karma: 373
By "source code text" I assume you mean JavaScript.

Move the script to the group description (if shown) or the help text of the question.
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.088 seconds
Donation Image