Problem:
I cannot add the class attribute to radio and other fields in forms.
What's the solution?
Solution:
You can set classes only to fields that render with simple HTML tags:
Native Toolset form fields:
post title field, input textfield for flat taxonomies.
Types and Generic fields:
Single Line, Multiple Line, Date (only the main input, the dropdowns for hours and minutes do not add it), Number, URL, Select, the parent selector field.
To suggest adding the class attribute to other fields such as radio please submit your voice for the feature at https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/ mentioning you would like to see support for the class attribute on radios and checboxes in Form fields
Relevant Documentation:
https://toolset.com/documentation/user-guides/styling-cred-forms/ and https://toolset.com/documentation/user-guides/styling-cred-forms/#toolset-forms-markup-overview
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 4 replies, has 2 voices.
Last updated by 5 years, 6 months ago.
Assisted by: Beda.