eFormEvents.subForm.onAddRecord = function (eventArgs)
alert("dataName: " + eventArgs.dataName);
alert("element: " + eventArgs.element);
alert("newRow: " + eventArgs.newRow);
Upon testing, when I add a new row to the SubForm, I see the following:
The First alert does correctly show the name of the SubForm in the dataName argument:
But the second and third alerts (for "element" and "newRow") only show Object references:
Am I missing something here? What should the "element" and "newRow" arguments have in them? At the very least, I was hoping that I would get the row number or index of the new row that was added to the SubForm in the "newRow" argument but I don't understand how to get the value.
Please sign in to leave a comment.