Skip Navigation

[Resolved] Conditional Group not showing in forms.

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

This topic contains 2 replies, has 2 voices.

Last updated by Jay 3 years, 9 months ago.

Author
Posts
#2143449

Jay
Screenshot 2021-08-16 085430.jpg
Screenshot 2021-08-16 085343.jpg
Screenshot 2021-08-16 085317.jpg

Tell us what you are trying to do?
For a modelling/film website I have a custom field called Sex (with options Male/Female) and a post form for signup. In the post form I want conditional fields for Male or Female to show when selected Male/Female. For this, I added2 conditional field groups (see Screenshot). But the fields are not showing up.

Is there any documentation that you are following?

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

Is there a similar example that we can see?

hidden link

What is the link to your site?

hidden link

#2143505

Nigel
Supporter

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

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

Hi Frank

The condition to display a group is, for example, Sex = Male.

The custom field Sex, does it store the option values as "Male" and "Female"?

When used in comparisons, you must check against the stored values, not the option display values.

So, for example, if your Sex field had an option "Male" whose stored value was "m" then you would need to test Sex = m rather than Sex = male.

I'm guessing that is the most likely explanation.

#2144329

Jay

Thanks, that is the solution. Issue is resolved!