AnsweredAssumed Answered

Select all without button click list lookup after it loads nintex form

Question asked by karlsanada13 on Jul 12, 2018
Latest reply on Jul 12, 2018 by karlsanada13

Good day!

 

So I am having trouble using lookup function for the calculated value so I decided to try and select all the items in my listlookup with this code:

 

NWF.FormFiller.Events.RegisterAfterReady(function ()
{
     let row = NWF$(this).closest('.nf-repeater-row');
     row.find('.listLookUpCSS option:selected').prop('selected', true);
});

Doesn't seem to work unless it is going to be a button click. Or can anyone explain how to get the length of a list lookup?

Outcomes