Gravity Perks – Conditional Logic Dates featured image

Gravity Perks Conditional Logic Dates v1.2.30

Developer: Gravity PerksCategory: WordPress PluginsTrusted with 138 downloadsPro3 favoritesLatest v1.2.30Updated 1mo ago

Allows Date fields to be used in Gravity Forms conditional logic.

Same brand

More from Gravity Perks

Spellbook (formerly Gravity Perks) icon

Spellbook - Gravity Forms Addons Manager

by Gravity Perks

Effortlessly install and manage small functionality enhancements (aka “perks”) for Gravity Forms.

Gravity Connect Google Sheets icon

Gravity Connect Google Sheets

by Gravity Wiz

Automatically send and sync Gravity Forms data with Google Sheets - and unlock new possibilities for your data.

Gravity Forms Bookings icon

Gravity Forms Bookings - WordPress Plugin

by Gravity Forms

A WordPress booking platform powered by Gravity Forms with calendar scheduling, dashboards, syncing, and self-service booking tools.

Related items

Related Gravity Forms Plugins

Gravity View icon

Gravity View - Powerful Gravity Forms Addons

by Katz Web Services

The best way to display Gravity Forms entries on your website GravityView is the best way to display Gravity Forms entries on your website.

Gravity Forms User Registration Add-On icon

Gravity Forms User Registration Addon

by Rocketgenius

Allows WordPress users to be automatically created upon submitting a Gravity Form.

Gravity Forms Signature Add-On icon

Gravity Forms Signature Addon

by Rocketgenius

Integrate signature capabilities into your forms

Allows Date fields to be used in Gravity Forms conditional logic.

What does it do?

The GP Conditional Logic Dates perk allows you show/hide fields based on the selected date in a Date field. Only Datepicker Date fields are currently supported.

How does it work?

This perk allows Date fields to be selected when creating conditional logic rules for your fields (and other places conditional logic is supported). It integrates seamlessly with Gravity Forms’ existing conditional logic UI. After selecting a Date field, you will select the operator for comparison (i.e. less than, greater than, is or is not) and enter the date value to which the Date field should be compared.

Usage Specifics

  • Date value must be entered manually using the US date format: MM/DD/YYYY.Will add support for jQuery Datepicker for selecting the date value in future version.
  • Supported operators: “is”, “is not”, “greater than”, “less than”.
  • Special conditional-logic-only merge tag supported: {today} Allows conditional logic to be applied to fields based on whether the selected date is, is not, is greater than or is less than the current date.
  • {today} merge tag supports modifiers for making date comparisons like:
    • Date is at least 2 weeks away: {today:+2 weeks}
    • Date is no more than 90 days before today: {today:-90 days}

How do I enable this functionality?

  1. Open the form on which you would like to include this functionality.
  2. Add a datepicker field to your form.
  3. Add any other field that you want to show conditionally.
  4. Open the field and click on the Advanced tab
  5. Click the “Enable Conditional Logic” check box and enter the desire date base logic. (See examples above)
  6. Save your changes by clicking the “Update Form” button.
Show full description

How do I setup conditional logic based on the current date?

  1. Add a Date field to your form (it will default to the Datepicker date type).
  2. Name it something like “Today”.
  3. Open the field settings for this field and navigate to the “Advanced” tab.
  4. Set {date_mdy} as the default value (this will automatically populate the current date into this field).
  5. Now you can enable conditional logic on any other field and configure date-based conditions by comparing this field to a date value (see examples above).

Note: If you want to hide the “Today” date field from being visible to the user, you can hide it by add “gf_invisible” to the field’s CSS Class Name setting on the “Appearance” tab.

How do I apply conditional logic based on the day of the week?

We’ll assume you’ve already added a Date field to your form that either will be auto-populated with today’s date (see above) or one in which the user will select a date.

  1. Open the field settings for the field that should be shown/hidden based on the day of the week and navigate to the “Advanced” tab.
  2. Enable Conditional Logic.
  3. Select your Date field from the first drop down.
  4. Select “is” from the second drop down.
  5. Enter “{monday}” (or whichever day of the week you would like to check for) in the last input.

Now this field will only be shown (or hidden) if the selected date falls on the specified day of the week.

How do I apply conditional logic based on whether the date is a weekend or weekday?

First, we’ll tackle checking for weekend dates.

  1. Open the field settings for the field that should be shown/hidden based on the day of the week and navigate to the “Advanced” tab.
  2. Enable Conditional Logic.
  3. Select “Any” from the drop down that contains the options “Any” and “All”.
  4. Select your Date field from the first drop down.
  5. Select “is” from the second drop down.
  6. Enter “{saturday}” in the third input.
  7. Add a new rule by clicking the (+) button at the end of the row and follow steps 4 and 5 again.
  8. Enter “{sunday}” for the third input on the new condition.

You can follow the same steps to check for a weekday. The only differences are:

  • Select “All” from the drop down that contains the options “Any” and “All”.
  • Select “is not” from the second drop down of each condition.

Recent releases

Release history

View all 5 versions
v1.2.30LatestVerified Safe
Aug 13, 202640.6 KB
Fixed
  • a compatibility issue with Gravity Forms 3.0.
Jun 18, 202628.5 KB
View changelog
Improved
  • compatibility with GP Conditional Pricing rules importer/exporter.
Feb 14, 202628.4 KB
View changelog
Added
  • Current Date as a selectable conditional logic field option.

Frequently asked questions

Is Gravity Perks – Conditional Logic Dates GPL licensed?
Yes, Gravity Perks – Conditional Logic Dates is distributed under the GNU General Public License (GPL). You can legally use, modify, and redistribute it on unlimited websites.
What is the latest version of Gravity Perks – Conditional Logic Dates?
The latest version of Gravity Perks – Conditional Logic Dates on GPLCoffee is v1.2.30 (released Aug 13, 2026, 40.6 KB download size). Every new release is synced automatically, and subscribers can update directly from their WordPress dashboard with the one-click connector plugin.
How much does Gravity Perks – Conditional Logic Dates cost on GPLCoffee?
Gravity Perks – Conditional Logic Dates is available for $5.99 for a 1-year license or $15.99 for a lifetime license. Membership plans also include credit-based access so you can download Gravity Perks – Conditional Logic Dates along with thousands of other plugins, themes, and PHP scripts for a single subscription.
Is Gravity Perks – Conditional Logic Dates safe to download?
Yes. The latest release of Gravity Perks – Conditional Logic Dates (v1.2.30) was scanned with VirusTotal and came back clean. Scan results are visible on each version page, and releases flagged as malicious are blocked from the catalog.

Auto-updates included

Install it once, update automatically.

The GPLC Connector installs this plugin from your wp-admin and rolls out new versions to your connected sites - up to 25. Included with 12-month and Geek Lifetime plans (plus legacy 6-month).