Skip Navigation

[Resolved] Conditional fields not working in CPT admin

This support ticket is created 4 years, 1 month 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by paulC-25 4 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2234527
Screenshot 2021-12-01 at 19.41.22.png

I am trying to: Use conditional custom fields in a Add New for a CPT, but they're just not loading when the condition is matched.

Link to a page where the issue can be seen: It's on a local install, but have included the debug text, as well as the errors that I'm seeing in console. Looks like a fair bit of JS conflict going on?

I expected to see: Conditional fields appearing

Instead, I got: Nothing happens when condition fires

Thank you guys!!

#2234953

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I can see it throws the Javascript errors on browser's console. And based on the screenshot shared I'm not sure what causing that JS conflict.

*** Please make a FULL BACKUP of your database and website.***
Could you please try to resolve your issue by deactivating all third-party plugins as well as with the default theme to check for any possible conflicts with any of the plugins or themes? - Do you see any difference?

If no, I will require your site access to debug the issue further. Can you setup a test site where I can check the issue?

#2235437

Hi Minesh,

Thank you very much for looking at this. Will try the first step that you offered and I will then advise.

Aside from this, can you confirm which jQuery, jQuery UI min versions are needed for Types 3.4.14 (running) in the front end please?

Thank you,

Paul

#2235559

My issue is resolved now. Thank you!