Hey there,
I'm in the midst of building a site located here:
http://mix4tv.com/submit-your-project/
The specific action I'm trying to take is to make the date picker restrict the available inputs to only today plus 2.
I've found the following threads, but still haven't been able to get this working:
http://www.gravityhelp.com/forums/topic/date-picker-restriction-dates
in that thread, the user actually did implement his restriction exactly as I want mine to work. I tried copying his code into an html block in my form, but it seemed to have no effect.
I AM able to get the date field to convert to read only using a javascript in an html block later in the same form, so I feel like my placement of the code is correct - the issue may just be what the code actually says.
I then found this thread:
http://www.gravityhelp.com/forums/topic/date-picker-excluding-todays-date#post-84682
and pasted the code from the first thread referenced into a date_restriction.js file and placed it into a /js folder in my child theme. When I attempted to paste the gform_enque into my I functions.php file (after changing it to reflect my form id) still got no effect.
It seems like this should be simpler than it is. :)
any help appreciated.
thanks!