Skip to Content Skip to Menu

[#8772] class="form-check-input" missing on required Radio Buttons Field

  • aybarra
  • aybarra
  • OFFLINE
  • Posts: 17
  • Thanks: 3
  • Karma: 0
2 years 11 months ago - 2 years 11 months ago #327087 by aybarra
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: 2 years 11 months ago by krileon. Reason: Added [#8772] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 11 months ago #327106 by krileon
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.

Please Log in or Create an account to join the conversation.

  • aybarra
  • aybarra
  • OFFLINE
  • Posts: 17
  • Thanks: 3
  • Karma: 0
2 years 11 months ago - 2 years 11 months ago #327110 by aybarra
Thank you for your reply.

The use of the word "buttons" can be confusing.

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-edit About 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.

Last edit: 2 years 11 months ago by aybarra.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48424
  • Thanks: 8274
  • Karma: 1443
2 years 11 months ago #327116 by krileon
Ah, thank you for the additional information. Was able to confirm and fix the issue for next release.

forge.joomlapolis.com/issues/8772


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum