Get the current row value of repeater on button click

  • 26 September 2019
  • 1 reply
  • 13 views

Badge +6

Hello,

 

I have button inside the repeater in each rows, when i click on that button i want get the value of one control in the same row. i tried below code but its not working. Please let me know how can i get this done.

NWF.FormFiller.Events.RegisterAfterReady(function() {
NWF$(".BTN").click(function() {
NWF$(".clsrepeater .nf-repeater-row").each(function() {
var $row = NWF$(this);
var $input1Val = $row.find(".ObjectiveItemID input").val();
console.log($input1Val);
});
});
});

4736i7F3AC3B0B18EF9B0.png

Inside start date control, i have a text field(showing the value as 17). when i click on the edit button i need to fectch this value. 

 

Regards

Hema


1 reply

Badge +6
Kindly help if anybody came across this scenario.

Reply