Skip Navigation

[Resolved] conditional fields don't work

This support ticket is created 3 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 15 replies, has 2 voices.

Last updated by David Gimenez 3 years, 3 months ago.

Assisted by: Nigel.

Author
Posts
#2132881

Hello. I need help!

I have custom post type with conditional fields.

I have a custom field called VIGENCIA DEL MENU with radio button and 4 options and 4 values
un dia = 1
varis dies = 2
un mes = 3
indefinit = 4

Conditional Custom field called DATA DE VIGENCIA DEL MENU and it's a date field. I show it when
vigencia-del menu is equal 1
OR
vigencia-del menu is equal 2
OR
vigencia-del menu is equal 3

Conditional Custom field called DATA DE VIGENCIA FINAL DEL MENU and it's a date field. I show it when
vigencia-del menu is equal 2

VIGENCIA DEL MENU
When i select value 1 data de vigencia del menu is shown - OK
When i select value 2 data de vigencia del menu is hidden and data de vigencia final del menu is shown XX ERROR XX -> It must show data de vigencia del menu and data de vigencia final del menu
When i select value 3 data de vigencia del menu is hidden and data de vigencia final del menu is hidden XX ERROR XX -> It must show data de vigencia del menu
When i select value 4 data de vigencia del menu is hidden and data de vigencia final del menu is hidden -OK

I think that there is a bug with toolset types.

Thanks in advanced

#2133749

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi David

I just tested the same set-up on my local site, and I was able to reproduce the problem.

Let me look into this a little further, then I'll update you again.

#2133919

Hi Nigel

Thanks !!!

#2134679

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi David

I did some testing and see that this broke in the current version of Types, 3.4.11, it works correctly in the prior version.

I've escalated this so that it can be reviewed by the developers, and I'll let you know when I have some news to share.

In the meantime you may want to downgrade Types to 3.4.10 (prior versions are available from the changelog on the downloads page).

#2137203

Hello Nigel. . I downgraded to 3.4.10. and the problem persists. Must I delete from ftp 3.4.11 and upload 3.4.10? Because I overwrited files...

Thanks!

#2137245

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Actually, I just checked further, and the code—although it belongs to Types—is reproduced in the common code shared across all of the Toolset plugins, meaning that it would be necessary to downgrade all of the plugins to the prior version.

That's not so practical, it may be better to wait for news from the developers. I'll let you know when I have some.

#2137465

Hello again. Do you know what is the ETA? Thanks again NIgel!

#2137499

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I'll speak to the developers at a meeting tomorrow morning, I should have a better idea then.

#2137503

Thanks a lot Nigel!

#2140039

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

This has been shared as an urgent issue with the developers, but the Types developer is on vacation this week. I'll press them when they return for a quick fix, and I'll update you then.

#2149067

Hello Nigel. Is there any ETA to solve this problem?
Thanks.

#2150391

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry, but I'm still waiting for news from the developer in question. I can see that they have begun work on the internal ticket, but it's not resolved yet. I don't want to speculate about when an update will be available until I can see the issue has been identified and a fix proposed by the developer.

#2153805

THX Nigel!

#2155557

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

The new releases have just been published and are available from the downloads page (toolset.com/account/downloads).

From your plugins page, if you don't see an update notice you can click the registered link to go to the custom installer page and click the Check for Updates button, which should bring up the list of updates you can install.

Let me know how you get on.

#2156713

Hello Nigel. i'll test it. Thanks!!!!