Welcome to the LimeSurvey Community Forum

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

How to add more then one other

  • satyam123
  • satyam123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 4 days ago #268682 by satyam123
How to add more then one other was created by satyam123
Hi,

I want to know, How to add more then one other in the multiple choice question type. 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 4 days ago - 1 month 4 days ago #268686 by Joffm
Replied by Joffm on topic How to add more then one other
Again you did not answer the questions.
 

So only a short answer:
Use "multiple with comment"
Remove the not used comment fields.
[url] forums.limesurvey.org/forum/french-forum...-r%C3%A9ponse#249302 [/url]

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 month 4 days ago by Joffm.

Please Log in to join the conversation.

  • satyam123
  • satyam123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 month 4 days ago #268687 by satyam123
Replied by satyam123 on topic How to add more then one other
Thank You for your responce.

But I need only last two other options for take input and another all options are normaly multiple choice option for check box.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 4 days ago #268688 by holch
Replied by holch on topic How to add more then one other
That's why Joffm says "Remove the not used comment fields.".

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • satyam123
  • satyam123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 weeks 3 days ago #268842 by satyam123
Replied by satyam123 on topic How to add more then one other
Hi Holch,

Find the attached lss file. 

Regards,

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 3 days ago - 3 weeks 3 days ago #268886 by Joffm
Replied by Joffm on topic How to add more then one other
You already got the script here
[url] forums.limesurvey.org/forum/french-forum...-r%C3%A9ponse#249302 [/url]

This one
Code:
 <script type="text/javascript" charset="utf-8">
    $(document).ready(function() {
        var thisQuestion = $('#question{QID}');
        // Remove some text inputs
        $('.checkbox-text-item:eq(0) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(1) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(2) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(3) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(4) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(6) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(7) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(8) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(10) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(11) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(12) .comment-item', thisQuestion).remove();
        $('.checkbox-text-item:eq(13) .comment-item', thisQuestion).remove();
    });
</script>


You see: Except of the sixth and the tenth item all comment boxes are removed.

So adapt to your needs.
Like this
 

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 weeks 3 days ago by Joffm.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose