Pro item

Gravity Perks – Conditional Logic Dates - 1.2.4

Developer: Gravity Perks
Version: 1.2.4 report oudated
Updated 20 April 2022
File status: Original
2 users like this.
You don't have a valid membership to download this item. Purchase one here.

Our guarantee:

You may also like

Schedule Gravity Forms notifications to arrive when they matter most. Create drip campaigns, recurring offers, reminders, and more. One of the world’s greatest wizards (*cough*SantaClaus*cough*) told us exactly what you wanted for Christmas — an easy, flexible way to schedule notifications with Gravity Forms. We didn’t have any elves to help us, so we whipped out our finest wands and got to work. We’re so excited about the finished product that we simply can’t wait for Christmas to give it to you! Today, I’m thrilled to announce the release of Gravity Forms Notification Scheduler 1.0.

What does it do?

With Notification Scheduler, you can finally schedule Gravity Forms notifications to arrive when they matter most — think onboarding campaigns, recurring anniversary offers, and event/expiration reminders. A beautifully integrated UI allows you to schedule notifications…
  • After any notification event (e.g., form submissions, user registrations, payments collected)
  • On a specific date and time
  • Before or after a date captured on the form
Need to send a notification more than once? Resend notifications on a recurring schedule forever or ending after a period of time.

What can Notification Scheduler do for me?

Drip Campaigns — Help new customers learn how to use your product. Build hype for your upcoming event. Nurture fresh leads to keep your brand on their mind. Use Notification Scheduler to send a series of scheduled emails, arriving over the first few days and weeks of their engagement with your business. Recurring Offers — Engage existing users with regular offers. A birthday coupon for 10% off their next order. A free digital resource on their signup anniversary. An invitation to give you feedback on their experience every 6 months. Just a few ideas to get you started! Reminders — Keep your event at the forefront of your attendees’ minds and improve their experience with helpful tips ahead of the big day. For subscriptions, remind customers about their upcoming renewal or expiration. Same for credit cards! Other Custom Notifications — Gravity Forms notifications can be heavily customized out-of-the-box, allowing for uploaded attachments sent from forms, the use of conditional logic when sending notifications, and more. If you’re new to notifications, we recommend starting here!

Notification Scheduler is the gift that keeps on giving.

Ready to give it a try? 😉 It’s available now in your WordPress admin (Forms › Perks › Install Perks in your admin menu). Prefer to download it? Just log in to your Gravity Wiz account and go to your Downloads page.

Item description

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.

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.

Reviews

Reviews

There are no reviews yet.

Be the first to review “Gravity Perks – Conditional Logic Dates”
christmas-2021-campaign
Flash sale up to 40% to all subscriptions.

This site uses cookies to store information on your computer. Some of these cookies are essential to make our site work and others help us to improve by giving us some insight into how the site is being used.

By using our site you accept the terms of our Privacy Policy.