I am trying to restrict users selecting between dates, but I didn't find a solution to it. I tried the following initiatives to do it.
this.$("input[name='date_c']").datepicker({ maxDate: 1 });
How can I utilize the
_setupDatePicker
Function to restrict the user, is there some configuration to it?
if you check task module then Sugar manage this in task module for date start and date end but not in your required way i.e. disable dates but it restrict user to select due date greater then date start. It uses following code: