Skip Navigation

[Resolved] Conditional group not displaying in post edit form

This thread is resolved. Here is a description of the problem and solution.

Problem:
Conditional group not displaying in post edit form

Solution:
Please make sure that the field should be added within the form based on which you added the conditional field display.

You can find the proposed solution in this case with the following reply:
https://toolset.com/forums/topic/conditional-group-not-displaying-in-post-edit-form/#post-2296593

Relevant Documentation:
- https://toolset.com/course-lesson/conditional-display-for-form-inputs/

This support ticket is created 2 years, 9 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
- 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 jennZ 2 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#2294775

I have a couple of forms set to edit existing content and the conditional groups in them are not displaying properly. They display just fine in the form that creates a new post of the same type, but not for the edit forms. Are edit forms not able to retrieve existing values for dropdown select fields or something? If so, how do I fix that so the conditional groups will display correctly?

#2295439

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please tell me what field you want to display conditionally and share problem URL where you added the edit form as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) 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.

#2296593

Minesh
Supporter

Languages: English (English )

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

The issue was you did not added the custom field "Speaker Level" on form based on which you setup the conditional display.

I've added that field to the form and I can see the conditional display works, when you change the option for filed "Speaker Level" I can see the conditional display show/hide the fields as conditions configured.
- hidden link

#2298053

Alright, I will go through and hide the Speaker Level field on this form with CSS, as the whole point is that it is NOT supposed to be shown to the user on this particular form. However, it hadn't been working on my second form that DID have that field available to the user, though it seems to be working now and I don't know why. Granted, I suppose as long as it's working, I don't care too much why. Thank you for your help.