Skip Navigation

[Resolved] New conditions in conditional groups using the GUI not possible for user forms

This support ticket is created 3 years, 10 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by matthiasV-2 3 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#1890801

I am trying to add new conditions in conditional groups using the GUI for user forms besides of those who are available by default.
For example:
I would like to show a multi-select field based on whether or not the user is a private person or professional.
Link to the page where the issue can be seen: hidden link.

#1891591

Hi,

First, an important point to note is that all generic fields must have a slug value.
( as explained in the other ticket: https://toolset.com/forums/topic/generic-fields-for-user-form-not-showing-up/#post-1891547 )

In your form "Nieuwe gebruiker aanmelden", I saw a multi-select field with the label "U bent een ...", which started showing when I added the slug "person-type".

After that and as an example, I updated the condition in the conditional group that follows this field, with this condition:
( screenshot: hidden link )


( $(person-type) eq 'bouwprofessional' )

This means that if the option with the value "bouwprofessional" is selected in the "person-type" field, the fields inside this conditional field group should show.

Similarly, you can add more complex conditional expressions and combinations:
https://toolset.com/documentation/programmer-reference/forms/cred-conditional-display-engine/

regards,
Waqar

#1893699

My issue is resolved now. Thank you!