Kacey Cleveland
Posts: 0
Joined: Thu Apr 16, 2015 6:25 am

Minimum date with datepicker input from drag and drop menu

I tried the following code:

var dateElement = Appery("event_date_input");
dateElement.setProperty("defaultDateValue", $.datepicker.formatDate(dateElement.datepicker_dataPickerOptions.dateFormat, new Date()));

where event_date_input is my datepicker input from the drag and drop menu.

and got this in the console:
Uncaught TypeError: Cannot read property 'formatDate' of undefined

I'm trying to set the minimum date on pageshow to the current date.

Any help is much appreciated, thanks!

Kacey Cleveland
Posts: 0
Joined: Thu Apr 16, 2015 6:25 am

Minimum date with datepicker input from drag and drop menu

Is there any way I can u mark my question "answered"? Sorry for making a new thread but I couldn't figure out how to u mark it as "answered" so I felt like it was being ignored!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Minimum date with datepicker input from drag and drop menu

Status changes after reply, please do not worry, we will reply as soon as have updates.

Return to “Issues”