Gravity Forms – can’t find variable gform – datepicker

Question

We are using Gravity Forms and noticed a few errors in the developer console that we’d like to clear. The error ‘Can’t find variable: gform’ comes up regularly, and seems to be tied to all the date-picker fields. From looking at the code, this is the line in question (which happens to appear multiple times):

gform.addFilter( ‘gform_datepicker_options_pre_init’, function( optionsObj, formId, fieldId ) {

Any ideas how to fix this error? Our form is very slow at loading, and am wondering if this will help that. I have tried to reach out to Gravity Forms with no avail. Thank you!

0
user3217495 4 months 0 Answers 16 views 0

Leave an answer