Home › Toolset Professional Support › [Resolved] How to hide certain options in custom fields in Toolset Forms
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
Tagged: Content-submission forms, CRED API, Toolset Forms
Related documentation:
This topic contains 2 replies, has 2 voices.
Last updated by StanleyT8485 5 years, 6 months ago.
Assisted by: Christian Cox.
Tell us what you are trying to do? How to hide certain options in custom fields in Toolset Forms?
Currently, all the options in my custom fields are being shown. How can we show only some of them?
I am thinking to use the display: none CSS but I'm looking for a proper way to do it. Is there any?
Hi, there is no built-in way to filter the options in a Form input field. Instead, you can create a generic field and use Views to generate the filtered options. Then you must use the cred_save_data API hook to capture the User's selection with PHP and do something with that selection. Let me know if you have additional questions about that.
My issue is resolved now. Thank you!