Skip Navigation

[Resolved] Date field not working

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 6 years, 2 months ago.

Assisted by: Waqar.

Author
Posts
#1117705
Screenshot from 2018-09-30 00-39-58.png

I am trying to add a start date and end date to a custom post type called events. But the date field is greyed out when going to add a new event post. Screenshot attached.

#1118297

Hi Glyn,

Thank you for contacting us and I’d be happy to assist.

To troubleshoot why the date fields are not editable, I’ll recommend to first check if there are any script errors or warnings shown in the browser’s console.
( ref: https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors )

You can also check the date fields, with all other plugins disabled, except the Toolset. If the fields start showing correctly without other plugins, you can start activating them, one-by-one, to narrow down to a possible conflicting one.

In case the issue still persists, you’re welcome to share access to your website’s admin area, for further troubleshooting.

Please make a FULL BACKUP of your database and website and share temporary login details to access for the admin area, with administrator role.

( Note: I have set the next reply to private which means only you and I will have access to it )

Regards,
Waqar

#1118910

Hi Glyn,

Thanks for writing back and for sharing the login details.

Since the website is live, we'll need a test/development site where the problem has been replicated and we can make some changes for further troubleshooting.

You can either make an online clone of your website and share its detail with us or share its copy using the "Duplicator" plugin ( https://wordpress.org/plugins/duplicator/ )

Your next answer will also be private and only you and our support team will have access to it.

Please let us know if you have any further information or questions.

#1120445

Hi Glyn,

Thank you for sharing the access details for the staging website.

During troubleshooting, I noticed that scripts errors shown in the console are fixed, when the active theme is switched to a default theme like Twenty Seventeen or the parent theme Divi.

When the script errors are fixed the date picker also starts working as expected with those date fields.

This suggests that the script conflicts are resulting from the code in the active child theme "DEGRP".

I'll recommend to go through its code for any custom or third-party scripts and remove or fix them and the date fields will work.

I hope this helps! Please let us know if you need any further assistance.