How to check the context ‘inline edit’ in User Event Script if(scriptContext.type === ‘xedit’) This condition will work on beforeSubmit() and afterSubmit.