Problem:
We want to display fields or content conditionally to the taxonomy term chosen in a Toolset Form.
How can we achieve that?
Note, the final goal may also be to just ensure the user chooses at least one term.
Solution:
You can, for example, hide the Submit button, if the taxonomy value isn't checked or even, a specific option:
https://toolset.com/forums/topic/conditional-display-based-on-taxonomy-selection-in-a-cred-form/
With this same method, you can also display messages or other fields depending on what term is chosen.
Note, this works only for hierarchical terms, not for flat terms like tags
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 |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 5 years, 1 month ago.
Assisted by: Beda.