WP Manifestindependent plugin directory
manifest / forms / gravityforms-flatpickr

Gravity Forms FlatPickr Date Field

Flatpickr Field type for Gravity Forms

by Nic Scott · github.com/nicscott01/gravityforms-flatpickr

2stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/nicscott01/gravityforms-flatpickr/archive/refs/heads/main.zip

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.