Skip Navigation

[Resolved] Conditional display in forms

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

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by bobW-3 4 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#1585617

I have a field in my form called "Other - SS" that I only want displayed when a checkbox field called "Specialized Services" has one of the options in it called "Other", checked.

I was looking at this documentation - https://toolset.com/documentation/user-guides/front-end-forms/conditional-display-for-form-inputs/ and it has a link to this documentation https://toolset.com/documentation/user-guides/front-end-forms/cred-conditional-display-engine/ where "functions" are discussed. I think the function that would suit my situation is "CONTAINS" but I'm not sure exactly how I would go about using that function inside Toolset.

I don't have a similar form element that I can provide as an example.

The site deals with private children's data, so I can't really provide you a link.

#1585927

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-04-14 at 3.27.50 PM.png

Hi Bob,

Thank you for getting in touch.

From my testing you can use the Equal option as it will function as a CONTAINS function. The user can check several different options with the checkbox but the conditional field won't appear unless the user selects the correct option for the field to be displayed. See my Screenshot

I've tested it link this and it works fine. The screenshot is from a Conditional group on the Form that I was testing.

This should work well for your specific case.

Please let me know if this helps.
Thanks,
Shane

#1585937

I see that solution does work. It would be nice to know if the documentation I noted could be used in a similar scenario in the future. If it is not something that is supported, what is the purpose of the documentation?

My issue is resolved now. Thank you!