Multiple choice with comments Web version

More
1 month 3 days ago - 1 month 3 days ago #191054 by ReenaAyodheea
Hello,

I have an issue with the web version of Limesurvey.
I have a multiple choice question with comments and I want to hide comments for some answers. In the local version I used the following script :

<script type="text/javascript" charset="utf-8">
$(document).ready(function() {


var codesToHide = ; //add answer codes to hide here.

for (var i = 0; i < codesToHide.length; i++) {
$('#answer{SGQ}'+codesToHide+'').parent().parent().find('input:text').hide();
};

});
</script>

This works in the desktop version but not for web version. When I check logic, SGQ is highlighted in red.
Can anyone help ? Note I'm new to lime and java.

Thank you

Reena
Last edit: 1 month 3 days ago by ReenaAyodheea.

Please Log in or Create an account to join the conversation.

More
1 month 3 days ago #191060 by DenisChenu
LimeStore related ????
www.limesurvey.org/limestore

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!