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

More
4 years 8 months ago #83961 by rahmatawaludin
rahmatawaludin created the topic: 'other' options within multiple choice question became readonly in Build 120725
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
Attachments:

Please Log in to join the conversation.

More
4 years 8 months ago #83964 by DenisChenu
DenisChenu replied the topic: 'other' options within multiple choice question became readonly in Build 120725
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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 8 months ago #84490 by todernst
todernst replied the topic: 'other' options within multiple choice question became readonly in Build 120725
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;
}

Please Log in to join the conversation.

More
4 years 8 months ago #84496 by TMSWhite
TMSWhite replied the topic: 'other' options within multiple choice question became readonly in Build 120725
The root problem is this commit , which removed the checkbox. Reverting that line restores the checkbox and the desired behavior.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.