I need my proctor request forms to require the chosen date be at least 7 business days in the future

I am trying to make one of our forms require the date to be a minimum of 7 business days from the date of the form submission. I am not using a date picker, just the date field setting.

I have tried searching for solutions. I attempted to modify and apply what I found at: Add 2 days to default date value but wasn’t successful.

I tried to use (after modifying) the code I found at gform_validation - Gravity Forms Documentation.

I unsuccessfully tried to use the Code Snippets plugin.

I would be happy to download a Gravity Wiz addon, but don’t know which one to use.

Any suggestions/help/guidance would be greatly appreciated.

Hey Diane!

This is possible with Limit Dates:

Here’s how you can configure it:

Thank you so much for your guidance. However, I haven’t been successful yet in implementing this solution.

Steps I took:

I purchased the Gravity Perks Basic for the single Gravity Forms Limit Dates add on.

Once that was in place, when I edited my form and added a new date field to configure it, the functionality that I saw in your screenshot, only showed when I had the date field as a date picker.

Our site needs this to be a one of the choices other than the date picker (either the drop down option or just “Date Field”). When I chose either of those two options, nothing showed under, “Perks”.

Can you help me figure out what I am missing? Thank you tons for your help!

Ah, bummer. I didn’t realize you weren’t using a datepicker. I’m sorely tempted to explore updating Limit Dates to support other types of Date field types but I suspect it won’t be trivial… :sweat_smile:

Curious — why aren’t you able (or not want to) use a datepicker?

When we switched to the Gravity Forms plugin for our forms (from the previous plugin we used), we did so to improve/help accessibility.

There is an accessibility warning that shows up when a new “date” field is added. This warning is about using the datepicker (and shows immediately when adding the new “date” field, as the default date input type is the datepicker). The warning doesn’t go away until the date input type is switched to either the dropdown or the date field options.

Again, thank you for your help!

I dig it. And I was inspired to do some digging into the GP Limit Dates codebase as well and I was able to add preliminary support for Date Field and Date Drop Down input types! Send me a DM here or contact us via support for a new version of Limit Dates. :man_mage: