Saltar navegación

[Resuelto] When setting conditional display i cannot hide also label

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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 0 respuesta, tiene 1 mensaje.

Última actualización por nikolasS 1 year, 2 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2799843

I am trying to: hide/show a field based on another field value

Link to a page where the issue can be seen:
enlace oculto

I expected to see:
When Άλλο is selected in Νοσοκομείο * then i expect to see both the Label and the Single line field of
Άλλο Νοσοκομείο

Instead, I got: even when is not selected i can see the label

#2799852

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please send me admin access details and let me check how you configured the field.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2799855

also now recaptcha is not working now on this form when you are not login

#2799863

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I see you made that field dependent from the backend from the custom field group:
=> enlace oculto

Do you want to keep that field dependent when you add/edit post in backend admin as well and you also want same when using Toolset form?

#2799870

i need to show it only when the previous field is set to Άλλο.
Both the field and the label.

#2799871

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

I understand that but you want to show that dependent field with frontend form or you want the same when you add/edit post from backend admin?

#2799872

only when i am adding a new post in the frontend

#2799873

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Ok then you should remove the dependent display you added with your custom field group:
- enlace oculto

And use the Toolset form conditional display to display the dependent field:
- https://toolset.com/course-lesson/conditional-display-for-form-inputs/

#2799879

Thank you so much. Your support was excellent.