Navigation überspringen

[Gelöst] Conditional Group not showing in forms.

This support ticket is created vor 4 years, 9 months. 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.

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Jay vor 4 years, 9 months.

Author
Artikel
#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?

versteckter Link

What is the link to your site?

versteckter Link

#2143505

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: 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!