I am trying to set a min & max date on a date picker
I have put this is custom JavaScript of the localization page for my form
$(document).ready(function() {
$("#rd_projectdate").next().data("DateTimePicker").minDate(moment());
});
but I end up with this error
I get the same result with maxDate