Support

Home Forums Event Espresso Premium Datepicker Conflict with Gravity Forms

Datepicker Conflict with Gravity Forms

Posted: May 1, 2013 at 2:25 pm

Viewing 3 reply threads


Tracy Rice

May 1, 2013 at 2:25 pm

I am using EE along with GF and there is a conflict due to EE using it’s own jQuery Datepicker and GF using it’s own, so I get multiple js files included.

Here is the form (I have conditional logic set, so to see the Datepicker field, select “Yes” to “Do you have specific dates planned for your trip?”):

http://www.bravooutings.com/create-your-trip/

Do you guys know a way around this?  I don’t need the Datepicker functionality for EE, can I somehow disable it?


Dean

May 2, 2013 at 3:43 am

Hi Tracy,

We actually dont include the datepicker, we use the one that is bundled with WordPress by default.

That being said what is the exact error/issue? I checked the form you provided and the datepicker worked ok.

There is a major error on that page though, but it is not related to the datepickers, it is server related. It looks like the TMP folder on your server is not write enabled. This folder is used by PHP to save session data and Event Espresso makes use of it.

If you cannot change the folder permissions to 755 for that folder via FTP, you will need to refer to your host regarding it.


Tracy Rice

May 3, 2013 at 4:24 pm

Interesting, that shouldn’t be an issue.  The only reason I felt it was EE is because if I disable the plugin, the form works perfectly.  If you check the source, there are two datepickers loading, which I think is causing the problem.


Dean

May 6, 2013 at 1:33 am

Hi,

There are actually 3 files loading in respect to datepickers on the site – http://d.pr/i/pNL4

datepicker.js and ui.datepicker.js are being loaded by Gravity forms, which is fine as they do different things, and jquery.ui.datepicker.min.js is being loaded by WordPress.

Gravity forms is loading an older version of the datepicker.

Looking into this, Event Espresso doesn’t load the datepicker by default, in fact it should not be being loaded on the front end anyway as we dont have any Questions that use the datepicker, its use is only in the admin.

Looking at Gravity Forms, in their 1.6.X version it loaded their own datepicker jquery, updating to the latest it seems they now use the WordPress core files for it instead, so I would recommend updating your Gravity Forms. I cannot say for certain it will resolve it but it looks like a good place to start.

Viewing 3 reply threads

The support post ‘Datepicker Conflict with Gravity Forms’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso