Hi all,
I have to following problem considering a repeating table with the follwing of collumns:
User Email Approve/Reject
The collumn Approve/Reject consists of two radio buttons for approval or rejection. I want when a user selects one of the radio buttons, an automatic email notification to be send to a facilitator. I am currently using OnAfterChange event, to provoke the action. The code which I use is :
var value = eventObj.Source.selectSingleNode("..").text ;
var email = eventObj.Source.selectSingleNode("....").text ;
var person = eventObj.Source.selectSingleNode("....").text;
with the ... I have the XPath to the elements in the repeating table
But this code selects only the 1st row of the repeating table, even though for instance I have pressed the radio button on the 6th row. And if I insert a new role, the event occurs again, which I cannot explain why. I have selected the OnAfterChange event from the Validations and Events Handelrs menu for the specific field in the repeating table. If someone has an explanation I would be very grateful to hear/read it.
Best regards,
Svetoslav