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
Solved! Go to Solution.
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);
});
});
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('[' + idx + '] '+$test);
});
});