Validation

Hello,

How can I validate a event if all required fields are filled?

If tried this:

$$("scheduler").data.attachEvent("onBeforeDataSend",function(){});

And I’m using the mobile version with the recurring and offline support, is there also a uncompressed version of available? And when is the expected release date of this version?

Regards,
Michiel

Hello,

onBeforeDataSend is an event of DataProcessor:

dhx.dp($$(“scheduler”)).attachEvent(“onBeforeDataSend”,function(data){
for(var i = 0; i < data.length; i++){
/your code here/
}
});

If this event returns false, the data won’t be sent. The event takes array of object with data of updated events.