layout from the radiogroup

  • helena.dobrovic
  • helena.dobrovic's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 1510
  • Karma: 48
  • Thank you received: 129

helena.dobrovic replied the topic: layout from the radiogroup

Hi,

yes. It's ok now so I will continue. :)

Regards,
Helena

=========================================
Need to renew Pro Support?
Buy Here!
=========================================
Satisfied?
Consider a membership!
=========================================
Like us on Facebook
=========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
#213551
  • helena.dobrovic
  • helena.dobrovic's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 1510
  • Karma: 48
  • Thank you received: 129

helena.dobrovic replied the topic: layout from the radiogroup

Hi,

We are done :) Can you please take a look if that works for you.

You can find the code in Advanced section of your form > Scripts > Initialization Script > Custom
function ff_kostenvoranschlag_init()
{

jQuery('.controls span label').each(function () {
        jQuery(this).find('img').insertBefore(jQuery(this).find('input'));
    });

jQuery( ".controls span label:first-child img" ).click(function() {

 jQuery(this).css('border', '2px solid red');
 jQuery(".controls span label:nth-child(2) img").css('border', 'none');
 jQuery(".controls span label:nth-child(3) img").css('border', 'none');

});

jQuery( ".controls span label:nth-child(2) img" ).click(function() {

 jQuery(".controls span label:first-child img").css('border', 'none');
 jQuery(this).css('border', '2px solid red');
 jQuery(".controls span label:nth-child(3) img").css('border', 'none');

});

jQuery( ".controls span label:nth-child(3) img" ).click(function() {

 jQuery(".controls span label:first-child img").css('border', 'none');
 jQuery(".controls span label:nth-child(2) img").css('border', 'none');
 jQuery(this).css('border', '2px solid red');
});


} // ff_kostenvoranschlag_init

In Form pieces > Before Form > Custom there is following code which removes radio buttons:
echo'

<style>

.bfQuickMode .controls label input[type="radio"] {
display:none !Important;

}

.bfQuickMode .controls label img {
margin-bottom:10px;

}

</style>

';

Let us know if that works for you.

Kind Regards,
Helena

=========================================
Need to renew Pro Support?
Buy Here!
=========================================
Satisfied?
Consider a membership!
=========================================
Like us on Facebook
=========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
#213580
  • Aleso
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 62
  • Thank you received: 0

Aleso replied the topic: layout from the radiogroup

Hi

Yes this is ok.
Thanks a lot

br
#214251
  • helena.dobrovic
  • helena.dobrovic's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 1510
  • Karma: 48
  • Thank you received: 129

helena.dobrovic replied the topic: layout from the radiogroup

Hi,

I'm happy to hear that :)

Let us know if you are gonna need anything else.

Kind Regards,
Helena

=========================================
Need to renew Pro Support?
Buy Here!
=========================================
Satisfied?
Consider a membership!
=========================================
Like us on Facebook
=========================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
#214264
Moderators: ForumSupporttomeperica
Time to create page: 0.069 seconds

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

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

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here