Validate overlap dates before save I am trying to validate the database records based on Start and End date of newly created record to check the overlapping of dates and to show the message if its is overlapping and further it has to allow to save the record on confirmation.
I was able to do this check for database records, but how can i check this within newly created rows whether the dates are been overlapping or not.
Here is my code:
var $ = skuid.$,
params = arguments[0],
list = params.list,
item = params.item,
model = params.model;
//var $ = skuid.$;
var save1 = false;
$(function(){
salescallM = skuid.model.getModel('SalesCallModel');
var rowIdsThatChanged = Object.keys(skuid.model.getModel(‘SalesCallModel’).changes);