Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Multiple choice with comments Web version

  • ReenaAyodheea
  • ReenaAyodheea's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 months ago - 5 years 2 months ago #191054 by ReenaAyodheea
Multiple choice with comments Web version was created 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: 5 years 2 months ago by ReenaAyodheea.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 2 months ago #191060 by DenisChenu
Replied by DenisChenu on topic Multiple choice with comments Web version
LimeStore related ????
account.limesurvey.org/limestore

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose