Skip to main content

Hi Team,

Can you please help me achieve the below functionality in nintex forms.

I have a repeater section with a multiline text box. I want to update the multiline textbox dynamically at runtime using jquery.

I could get the first multiline textbox field value when looping through but undefined values for the next multiline textboxes.

Please help me to read and update the multiline text box values in repeater section.

Thanks in advance,

-Usha

Hi Usha,

Could you share how you are referencing the multi line text box on repeater section? 

Thanks,

Krishna.


Hi Krishna,

Thank you for the quick reply.

Below is my code

NWF.FormFiller.Events.RegisterRepeaterRowAdded(function ()
{
NWF$(".your-repeater .nf-repeater-row:not('.nf-repeater-row-hidden')").each(function ()
{
var $row = NWF$(this);
var $test = $row.find(".input1 input").val();  - worked for single line of text but showing blank for multiline text box

var $test1 - $row.find("#"+repid).val(); - while looking, got the 1st row value. But from 2nd row value it says undefined.
alert($test + $test1);


});


});


the exact code may depend on whether multiline text control/field is plain text or reach text enabled....

have a look here  


Hi Marian,

I am using plain text multiline control from nintex general controls.

-Usha


for plain text following should work

NWF.FormFiller.Events.RegisterRepeaterRowAdded(function (){
  NWF$(".repeater .nf-repeater-row:not('.nf-repeater-row-hidden')").each(function (idx,elem){
    var $row = NWF$(this);
    var $test=$row.find(".input1 textarea").val();
    console.log('a' + idx + '] '+$test);
  });
});

Reply