• Resolved Starhorsepax2

    (@starhorsepax2)


    This happened suddenly and it’s urgently needed. How do we fix? The form won’t allow us to put in a date.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes, date field randomly stopped working.

    File upload addon also broke entire site.

    Hey I had the same issue with dates pop up. Are you using Layouts & Styles?

    I noticed anytime the dates were not in their own row or the left column they would not work. However, moving those fields to their own row made everything work fine. Hopefully that helps anyone else that runs into it.

    Thread Starter Starhorsepax2

    (@starhorsepax2)

    updated info: my forms are also using fancybox, so you push a button and they pop up into a lightbox (about the average width of a phone). it seems putting the code on a regular post it works fine. but that isn’t how we want it!

    I’m also having issues with date fields I’m getting trying to when disabling past dates:
    Uncaught TypeError: dateObject.pikaday.setMinDate is not a function

    I’m also seeing this:

    Deprecated Ninja Forms Pikaday custom code detected.
    front-end.js?ver=3.4.32:3425 You are using deprecated Ninja Forms Pikaday custom code. Support for this custom code will be removed in a future version of Ninja Forms. Please contact Ninja Forms support for more details.

    • This reply was modified 4 years, 3 months ago by Ricky Poon.

    It’s impossible to change year after the last update,
    Please resolve this since date of birth is now impossible to select.

    I have issues also with custom code I made for the date fields (I disabled one day of the week).

    Ninja Forms apparently changed the calendar script from Pickaday to Flatpickr in 3.4.31. It would have been nice to know beforehand.

    Here is a documentation for Flatpickr if you have to update your code also: https://flatpickr.js.org/options/

    • This reply was modified 4 years, 2 months ago by Emielb.
    • This reply was modified 4 years, 2 months ago by Emielb.

    Just to add that Ninja Forms documentation still shows information for Pickaday, so it’s very misleading to know that the date field was modified, and to know how to upgrade our custom code.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Date fields stopped working’ is closed to new replies.