cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Updating repeated section row, with Javascript

Jump to solution

Hi All,

I want to develop a Nintex Form, which adds new rows to a repeating section. For testing, I implemented:

  1. a button on form, buttonaction=javascript, clientClick=addRowToMySection
  2. a repeating section, with CSS class = classRptSection
  3. a text box inside the repeating section, CSS class = classText
  4. a custom JS in the form settings as below:

   function addRowToMySection() {

   NWF$(".classRptSection.nf-repeater-row:last.classText").val('ABC');

   alert("done");

   };

When I press the button, I see the alert, but the textbox inside the repating section is not updated.

May anyone please provide/comment on what is missing. Thanks in advance to All.

0 Kudos
Reply
1 Reply
fhunth
Nintex Newbie

Re: Updating repeated section row, with Javascript

Jump to solution

The following worked:

NWF$(".classText:last input").val('ABC');

Reply