A script has to validates if start and end date are on the same day when part time absence is morning or afternoon.
Part time absence (radio buttons custom field)
Possible options: Morning, Afternoon, No
Start date and End date (both date custom fields)
(All are required.)
My condition atm:
(cfValues['Parttimeabsence'].value != "No")&&(cfValues['Startdate'].value!=cfValues['Enddate'].value)
But it doesn't work.
Any ideas?
Thanks.
Bert