WP Manifestindependent plugin directory
manifest / forms / gravityforms-flatpickr

Gravity Forms FlatPickr Date Field

Flatpickr Field type for Gravity Forms

★ 2stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/nicscott01/gravityforms-flatpickr/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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.