AnsweredAssumed Answered

Updating repeated section row, with Javascript

Question asked by neovas on Mar 24, 2015
Latest reply on Mar 24, 2015 by fhunth

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.

Outcomes