Form Repeater section drop down change event

  • 20 April 2018
  • 1 reply
  • 37 views

Hi,

 

I am using Nintex Form for office 365 to build an application form. Form contains repeater section.

Repeater has controls like Drop down (2) and single line text boxes (3). Each drop down has change event and while change the value it will update the single line text box of the row.

 

I used the following script to achieve, but it works only for last row (added)! 

------------------------------------------------------------------------------------------------

NWF.FormFiller.Events.RegisterAfterReady(function() {
NWF$(".cssBBPrising").change(retrievePercentage);
});
function retrievePercentage() {
try
{
 var dpd = NWF$(".rptTest .nf-repeater-row:last .cssBBPrising select option:selected");
NWF$(".rptTest .nf-repeater-row:last .BasePrice input").val(dpd.text());
}

------------------------------------------------------------------------------------------------

It works perfect only while add row and change the drop down . after adding few rows the first row event never works. Since i used the nf-repeater-row:last, can i use row id to identify? how to achieve this? help needed.

 

Thanks,

Kanna


1 reply

Badge +17

Any chance you can export your form for me to evaluate? Slightly hard to guess without seeing some of it.

Thanks,

Eric

Reply