I have a parent form with a List or Library control set for Dialog editing. I'm trying to pass a value from the child form to the parent, which works until I save the child form. At that point the value in the parent field clears out.
What am I doing wrong? This is part of my code (which I've tried in fd.spRendered, fd.spBeforeSave, and fd.spSaved functions to no avail).
if (parentForm) {
fd.field('Title').$on('change', function(ModTitle) {
parentForm.field('ModTitle').value = ModTitle;
});
}