- Posts: 57
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Multi choice with comments - Hide
- scene143
- Topic Author
- Offline
- Senior Member
Less
More
2 years 5 months ago #222107
by scene143
Multi choice with comments - Hide was created by scene143
Hi Team,
I am trying the below JS for hide few comment box for Multi choice with comments Questions but its not working after i updated new version of Limesurvey. Can any one help ?
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
// Remove the first comment box
$('#question{QID} ul.ls-answers li:eq(0) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(1) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(2) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(3) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(4) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(5) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(6) .comment-item').remove();
});
Regards
Sara
I am trying the below JS for hide few comment box for Multi choice with comments Questions but its not working after i updated new version of Limesurvey. Can any one help ?
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
// Remove the first comment box
$('#question{QID} ul.ls-answers li:eq(0) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(1) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(2) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(3) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(4) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(5) .comment-item').remove();
$('#question{QID} ul.ls-answers li:eq(6) .comment-item').remove();
});
Regards
Sara
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12904
- Thank you received: 3968
2 years 5 months ago - 2 years 5 months ago #222112
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Multi choice with comments - Hide
Hi, Sara,
there were two new releases on november 15,
5.2.2 and 3.27.29
Which is the one with your issue?
Joffm
there were two new releases on november 15,
5.2.2 and 3.27.29
Which is the one with your issue?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 5 months ago by Joffm.
The topic has been locked.
- scene143
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 1
2 years 5 months ago #222114
by scene143
Replied by scene143 on topic Multi choice with comments - Hide
Hi Joffm,
It is 5.22 version.
Regards
Sara
It is 5.22 version.
Regards
Sara
The topic has been locked.
- scene143
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 1
2 years 5 months ago #222135
by scene143
Replied by scene143 on topic Multi choice with comments - Hide
Hi Joffm,
Can you please help me to solve this error.
Regards
Sara
Can you please help me to solve this error.
Regards
Sara
The topic has been locked.
- scene143
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 57
- Thank you received: 1
2 years 5 months ago #222136
by scene143
Replied by scene143 on topic Multi choice with comments - Hide
Hi Joffm,
I got it now its working thank you.
Regards
Sara
I got it now its working thank you.
Regards
Sara
The topic has been locked.