Save Custom Form Data on CUI Save Button Click

How do we extend the CUI save button click event. I need to save data in a relationship custom form. I tried using the below function
aras.registerEventHandler('ItemSave', window, saveFunction);
However, the "saveFunction" is triggered even after i move out of the window to other forms.
Parents
  • This is correct. I created the relationship tab form using this. However, I do not want to update the parent item when something changes on the form. Instead, write an extended save function (for save button) that performs some additional validations before saving data from the form. 
Reply
  • This is correct. I created the relationship tab form using this. However, I do not want to update the parent item when something changes on the form. Instead, write an extended save function (for save button) that performs some additional validations before saving data from the form. 
Children
No Data