Joomla 3.10.3, Current Version of Community Builder
When displaying Not Required CB Fields of type Radio Buttons, the CSS class .form-check-input is applied to the HTML input control.
When the field is Required and displayed, the CSS class .required is used, but the class .form-check-input is not applied causing the button and label to display improperly.
Is this the intended functionality?
Last edit: 4 years 1 month ago by krileon. Reason: Added [#8772] tag to subject
Radio Buttons don't have form-check-input regardless of them being required or not. It's not a check input, but a button list. See the below of required state working fine.
Did you add a custom CSS rule by mistake using the CSS Class parameter in the field? Please provide a screenshot of how it's displaying for you.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
I should have been more clear. In this case, I'm addressing when the field Type is Radio Buttons and it has its Display set to Radios, not buttons. For example, the Gender or [b Age Group[/b] fields on this site when editing my profile (
www.joomlapolis.com/profile-editAbout Me tab).
In the attached screenshot, the radios for Gender have the CSS class of .form-check-input because they are not required. Even if they were required, they should also have that class so they display properly.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.