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 weeks 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 weeks ago #83964

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
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 developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

'other' options within multiple choice question became readonly in Build 120725 4 years 2 weeks 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 1 week ago #84496

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 758
  • Thank you received: 83
  • 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.
Moderators: ITEd
Time to create page: 0.243 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form