Skip to content

Repository files navigation

Flatpickr Date Field for Gravity Forms

This repo is for a Wordpress plugin that extends the plugin Gravity Forms by adding a Date field using Flatpickr.js. It was created to take advantage of some of the Flatpickr features such as blacking-out dates, or setting min and max dates.

In addition to just having the FlatPickr instance, you can link multiple Flatpickr fields by referencing a field ID in a companion field. This is useful for setting start and end dates, where the start date influences the beginning date on the end date calendar.

Changelog

[1.1.0]

  • Add easter sunday
  • Fix enqueue of script to occur only when form is printed on page

[1.0.2]

  • Add placeholder field/text

[1.0.1]

  • Add composer.json for Bedrock support

[1.0.0]

  • Initial release.
  • Added support for Flatpickr.js integration with Gravity Forms.
  • Enabled linking of start and end date fields.
  • Added options for min/max dates and blacked-out dates.

About

Flatpickr Field type for Gravity Forms

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages