Checkbox group: input is inside label, change to label after input

  • Ehsan Akbari
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 1

Ehsan Akbari created the topic: Checkbox group: input is inside label, change to label after input

Per default (Quickmode) the HTML code for checkboxes in a group looks like this:
<label>
<input type="checkbox">
Labelname
</label>
in order to use some custom checkbox-styling I would like to change this to:
<input type="checkbox">
<label>Labelname</label>

Is that possible, and if yes, where can I change this?
#240841
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 8403
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: Checkbox group: input is inside label, change to label after input

Hi,

it depends what kind of theming engine you use.
If you use the bootstrap (but not BS3), it would be located in the file

/administrator/components/com_breezingforms/libraries/crosstec/classes/BFQuickModeBootstrap.php

For the standard one it would be "BFQuickMode.php" and so on.

Please be aware that if you change these files, you will need to re-apply your change after every BreezingForms update as the html structure is baked in.

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240876
Moderators: ForumSupport
Time to create page: 0.047 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!