I need a Gravity Forms snippet modified

I use Gravity Forms quite extensively, and also "Perks" (plugins) and snippets from my good friends at Gravity Wiz. In one specific form that I'm creating, I'm using their "GP Limit Dates" perk to limit which dates can be selected using the date picker of a Date field.

[login to view URL]

The perk works great, except in this specific use-case of mine. If you refer to the attached backend screenshot, you'll see the following settings:

Minumum Date (plus modifier)

Maximum Date (plus modifier)

Days of the Week

Exceptions (used to set exceptions to the other three settings above)

My problem is that, while the first two settings can select fields that update with time (e.g. "Today's Date"), the Exceptions setting can only select fixed dates (e.g. day, month and year). I, however, need to be able to set certain days as exceptions for any given month, irrespective of the month or year. So if I set 1, 7, 15 and 27, those should be the exceptions set for any month (of any year) in the date picker.

I approached the folks at Gravity Wiz about the matter and although they are unable to currently adjust their plugin, they have provided me with the following snippet to help:


Gravity Perks // GP Limit Dates // Dynamically Enable Specific Dates


add_filter( 'gpld_limit_dates_options_59_522', 'gpld_dynamic_exceptions', 10, 3 );

function gpld_dynamic_exceptions( $options, $form, $field ) {

$date_values = array( '2019-06-01', '2019-06-07', '2019-06-15', '2019-06-27' ); // replace with your own method for getting a date

$max_date = time();

foreach( $date_values as $date_value ) {

$date_value = strtotime( $date_value );

if( $date_value > $max_date ) {

$options['exceptions'][] = date( 'd/m/Y', $date_value );



$options['exceptionMode'] = 'enable';

$options['disableAll'] = true;

return $options;


I have tried but failed... and here I am :)

I'm assuming this is the portion of code that needs to be adjusted:

$date_values = array( '2019-06-01', '2019-06-07', '2019-06-15', '2019-06-27' ); // replace with your own method for getting a date

I need to be able to enter an array of DAYS in there, which will then be valid for all present and future periods of time governed by the first three settings of the plugin (as per my screenshot).

Important: We use date in the format d/m/Y (or dd/mm/yyyy).

I hope to hear from you!



Skills: Javascript, PHP, WordPress

See more: countries need custom forms usps, need web forms admin database, photo submit gravity forms, gravity forms paypal, gravity forms customize, using hooks gravity forms, hi - i need someone to take a list of ~115 names and addresses that are currently in word and move them into, hi i need someone to take a list of 115 names and addresses that are currently in word and move them into, i have an html email template i need modified to work with mailchimp, i need urgent help to complete a one-page website (pretty simple) it has a prototype currently 20% completed, i need urgent help to complete a onepage website pretty simple it has a prototype currently 20 completed, do i need a rich snippet and an seo plugin for my wordpress site, which forms i need to start freelancing, I need some one who can work in sand box create forms make changes understands salesforce well and keep our system updated and r, need a virtual assistant. I am currently building several websites and I need an extra hand or two for data entry and other ra, I need a serious & dedicated coder to build an online web application. the app will be build from several forms. each form wil, I need this project to be done within 3 days, what forms do i need to hire an independent contractor, what forms do i need to file my taxes

About the Employer:
( 3 reviews ) Centurion, South Africa

Project ID: #20033197

Awarded to:


Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as an experienced WordPress programmer to implement something like $date_values = array( '01', '07', '15', '27' ); So, 1,7,1 More

$50 USD in 1 day
(1872 Reviews)

19 freelancers are bidding on average $159 for this job


I am not sure if I understand you, but you want to convert "[login to view URL]" rules to your snippet in project description right?

$100 USD in 1 day
(872 Reviews)

Hi, I've seen the attached code and understood your date problem. Let's discuss this on private chat. Thanks!

$250 USD in 7 days
(134 Reviews)

Greetings Phil, We will like to modified Gravity Forms snippet as per your requirements, We have a vast amount of experience in the modification of snippet as per your requirements. We are a full stack developer havi More

$250 USD in 7 days
(36 Reviews)

hello, i understand your work requirement , i can do all your work which you want , please come on chat so we can discuss more about your work , thank you .

$175 USD in 7 days
(65 Reviews)

Hi there. Nice to meet you. I'm a WordPress expert and FULL Time Developer. I have checked your requirements carefully. I have rich experience in WordPress, PHP, Website design, CSS, Javascript, etc. I can start More

$300 USD in 7 days
(43 Reviews)

Hello! I am a web developer.(WORDPRESS expert) I have checked your project description. I have rich experience with it so I can help you If you hire me, I am gonna do my best for our project. I guarantee the good More

$155 USD in 3 days
(17 Reviews)

Hello, I'm a full time freelancer and am free now. I have read your project description I am very interested in this project. I have a lot of experience in this type of work. I'm sure I can complete it on time with More

$140 USD in 2 days
(14 Reviews)

Hello I have walked through your note and enough confidence that I can work on your project I am having 10 years of rich experience as Mobile & Web Developer and also know graphics designing means in my career i learn More

$161 USD in 3 days
(18 Reviews)

Hi As a 10+yrs exp developer, I understand your project best and can deliver solution according to need. As a experienced developer I can save your time and money both. Our recent, project- E-commerce platform,with c More

$200 USD in 7 days
(9 Reviews)

★★★ Dear client ★★★ I'm specialized in html page design with over 10 years experience and I'm delighted to inform you that I'm very interested in yours after read your description carefully. My mail skills are HTML More

$155 USD in 3 days
(7 Reviews)

I have read explanation for your project in details and I have been building website for 5+ years. During that period, I have studied many top skills and especially, I have ever developed platform, booking site, onli More

$160 USD in 7 days
(7 Reviews)

Hi. thanks for your posting. I'm very happy to have a chance of bidding your project. I have experience in the development of projects like yours. I have read carefully the descriptions and understood clearly what you More

$100 USD in 5 days
(2 Reviews)

Hi I understood your requirement very well and have a good plan. Will provide great plan and idea. This is a great Php, Laravel, MySQL, Codeigniter, Html5,css3, Javascript, Jquery, Bootstrap, AngularJs, Angular 5, More

$111 USD in 3 days
(3 Reviews)

Hello Phil, I am new to here this platform but developed number of gravity forms work and mobile apps in last 9 years. I can modified your Gravity Forms snippet perfectly as per your mentioned req More

$155 USD in 3 days
(1 Review)

I've 7+ years of experience in Web Development/Web design, Mobile App Development(IOS/Android), Graphic design, Logo Design Business Cards & Stationery, Flyers & Brochures, Packaging Design, Web & Mobile Design, Socia More

$155 USD in 3 days
(1 Review)

Hello How are you? I've read carefully your job description. I have more than five years experience in Development. Your satisfaction with the project is my top priority! If you give me a chance to work with you More

$155 USD in 3 days
(3 Reviews)

Hello Thanks to support this It,s pleasure to prefer recommendation for my job first. So the important thing what i want to show you is i have deep and flexbile experiences within web and especially WP, js server. More

$222 USD in 3 days
(1 Review)

I have many experience on data entry from 5 years ago..I'm so serious in my job and I'll be quickly to finish the job and I finished the job before the time is can see my job if you need...

$30 USD in 4 days
(0 Reviews)