Welcome to the LimeSurvey Community Forum

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

Array - multiple choice and single choice

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 day 18 hours ago - 1 day 17 hours ago #268635 by Joffm
Replied by Joffm on topic Array - multiple choice and single choice
Some additions:
1. In your case you should exchange "first" with "eq(8)" (oh, this editor: eq(eight) to address the desired row.
 

Your script - the one with "const noneRowIndex = 8" looks a bit strange. And now it is obsolete

2. if($('#movenextbtn, #movesubmitbtn').
Since LS Version 3 - when LimeSurvey was based on bootstrap - the ID is "ls-button-submit"

3. I doubt that this will work
if(($('input:radio[value!=""]:checked', this).length > ...
You address radio buttons, but your array contains checkboxes. Originally this script was meant for "normal" arrays.


 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 day 17 hours 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