Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: 'other' options within multiple choice question became readonly in Build 120725

'other' options within multiple choice question became readonly in Build 120725 4 years 4 months ago #83961

hi All..
i'm using limesurvey version 1.92+ Build 120725
currently i'm creating multiple choice question with other options. My problem is the 'other' options became readonly and the related checkbox is invisible. How can I solve this?

Thanks
The administrator has disabled public write access.

'other' options within multiple choice question became readonly in Build 120725 4 years 4 months ago #83964

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9600
  • Thank you received: 1376
  • Karma: 390
Hello,

It's a personnal template (adpated from citronade) ? If yes , see if you have something in template.js for ".answers li input.checkbox" and remove it.

Denis
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.

'other' options within multiple choice question became readonly in Build 120725 4 years 3 months ago #84490

  • todernst
  • todernst's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi, I'm having the same issue and can not find the same line of code to fix in my template.js file. I was using the same build at first but have recently updated to the most current version.

The only active code I have in the file is the following:

function focusFirst(Event)
{
var i=0;
// count up as long as the elements are hidden
while(document.forms[0].elements.type == "hidden" &&
document.forms[0].elements.style.visibility == 'visible')
{
i++;
}
// put focus on the element we just counted.
if (document.forms[0].elements.type == "hidden" &&
document.forms[0].elements.style.visibility == 'visible')
{
document.forms[0].elements.focus();
}
return;
}
The administrator has disabled public write access.

'other' options within multiple choice question became readonly in Build 120725 4 years 3 months ago #84496

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 84
  • Karma: 37
The root problem is this commit, which removed the checkbox. Reverting that line restores the checkbox and the desired behavior.
The administrator has disabled public write access.
Time to create page: 0.224 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form