validating lightbox when add button is clicked

how to validate custom and normal components in lightbox when user click on save button if validation returns false alertbox should show necessary error message any working example ?

Hello,
you can catch ‘onEventSave’ event, that is thrown when user clicks save
docs.dhtmlx.com/scheduler/api__s … event.html

Instead of alerts you can use dhtmlxMessage library, that is integrated into the scheduler
docs.dhtmlx.com/scheduler/integr … ssage.html