- Posts: 27
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
// Identify this question var thisQuestion = $('#question{QID}'); var input1 = $('input:text:eq(0)', thisQuestion); var input2 = $('input:text:eq(1)', thisQuestion); var input3 = $('input:text:eq(2)', thisQuestion); var input4 = $('input:text:eq(3)', thisQuestion); var input5 = $('input:text:eq(4)', thisQuestion); // and so on
// Only load random numbers once if($.trim($(input1).val()) == '' && $.trim($(input2).val()) == '' && $.trim($(input3).val()) == '' && $.trim($(input4).val()) == '') {
shuffleArray(numbers); $(input1).val(numbers[0]).trigger('keyup'); $(input2).val(numbers[1]).trigger('keyup'); shuffleArray(numbers); $(input3).val(numbers[0]).trigger('keyup'); $(input4).val(numbers[1]).trigger('keyup'); shuffleArray(numbers); $(input5).val(numbers[0]).trigger('keyup'); $(input6).val(numbers[1]).trigger('keyup'); // and so on
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
{arResult2_ActHours_1=EXPBaseHours1.NAOK+ 5*EXPRandHours_E2x1.NAOK} {arResult2_ActHours_2=EXPBaseHours1.NAOK+ 5*EXPRandHours_E2x2.NAOK} {arResult2_ActHours_1=if(arResult2_ActHours_1.NAOK > 60, 60, if(arResult2_ActHours_1.NAOK > 14,arResult2_ActHours_1.NAOK, 15))} {arResult2_ActHours_2=if(arResult2_ActHours_2.NAOK > 60, 60, if(arResult2_ActHours_2.NAOK > 14,arResult2_ActHours_2.NAOK, 15))} {arResult2_ActHours_1=if(EXPRand_E2x1.NAOK== 1 or EXPRand_E2x2.NAOK== 1,arResult2_ActHours_1,EXPBaseHours1.NAOK)} {arResult2_ActHours_2=if(EXPRand_E2x1.NAOK== 1 or EXPRand_E2x2.NAOK== 1,arResult2_ActHours_2,EXPBaseHours2.NAOK)} {arResult2_ActCT_1=if(EXPCT_E2x1.NAOK == 1, "Ja", "Nein")} {arResult2_ActCT_2=if(EXPCT_E2x2.NAOK == 1, "Ja", "Nein")} {arResult2_ActCT_1=if(EXPRand_E2x1!=2 and EXPRand_E2x2!=2, ControlHours.shown, arResult2_ActCT_1.NAOK)} {arResult2_ActCT_2=if(EXPRand_E2x1!=2 and EXPRand_E2x2!=2, ControlHours.shown, arResult2_ActCT_2.NAOK)} {arResult2_ActCO_1=if(EXPCO_E2x1.NAOK == 1, "Ja", "Nein")} {arResult2_ActCO_2=if(EXPCO_E2x2.NAOK == 1, "Ja", "Nein")} {arResult2_ActCO_1=if(EXPRand_E2x1!=3 and EXPRand_E2x2!=3, Telecommute.shown, arResult2_ActCO_1.NAOK)} {arResult2_ActCO_2=if(EXPRand_E2x1!=3 and EXPRand_E2x2!=3, Telecommute.shown, arResult2_ActCO_2.NAOK)} {arResult2_ActDL_1=if(EXPDL_E2x1.NAOK == 1, "gelegentlich", "oft")} {arResult2_ActDL_2=if(EXPDL_E2x2.NAOK == 1, "gelegentlich", "oft")} {arResult2_ActDL_1=if(EXPRand_E2x1!=4 and EXPRand_E2x2!=4, if(Deadlines.NAOK==2,"oft", "gelegentlich"), arResult2_ActDL_1.NAOK)} {arResult2_ActDL_2=if(EXPRand_E2x1!=4 and EXPRand_E2x2!=4, if(Deadlines.NAOK==2,"oft", "gelegentlich"), arResult2_ActDL_2.NAOK)} ...
Please Log in to join the conversation.
( ( (EXP2ActHours1.NAOK <= EXP2ActHours2.NAOK) and ( ( (EXP2ActControl1.NAOK == "Ja") and [color=#ff0000]( (EXP2ActControl2.NAOK == "Nein") or (EXP2ActControl2.NAOK == "Ja") )[/color] ) or ( (EXP2ActControl1.NAOK == "Nein") and (EXP2ActControl2.NAOK == "Nein") ) ) and ( ( (EXP2ActCommute1.NAOK == "Ja") and [color=#ff0000] ( (EXP2ActCommute2.NAOK == "Nein") or (EXP2ActCommute2.NAOK == "Ja") )[/color] ) or ( (EXP2ActCommute1.NAOK == "Nein") and (EXP2ActCommute2.NAOK == "Nein") ) ) and ...
[color=#0000ff] EXP2ActControl1.NAOK == "Ja" or (EXP2ActControl1.NAOK == "Nein" and EXP2ActControl2.NAOK == "Nein")[/color]
Please Log in to join the conversation.
Please Log in to join the conversation.