TOPIC:

Auto select checkbox group 1 month 4 weeks ago #247217

  • Topic Author
  • mrperfectpz
  • Away
  • Gold Breezer
  • Gold Breezer
  • Posts: 340
  • Thanks: 0
Hi

If I click any in first checkbox group it will only select the first in second checkbox group, then if I check more nothing changes. If you need more information, please let me know

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

Auto select checkbox group 1 month 4 weeks ago #247219

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 1707
  • Karma: 3
  • Thanks: 154
Hi,

I understand, because you set ID of first chekbbox in second checkboxgroup.
I'll take a look soon and I'll get back to you

Regards,
Tihana

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

Auto select checkbox group 1 month 4 weeks ago #247221

  • Topic Author
  • mrperfectpz
  • Away
  • Gold Breezer
  • Gold Breezer
  • Posts: 340
  • Thanks: 0
Ok, I will wait for you to have a look

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

Auto select checkbox group 1 month 4 weeks ago #247272

  • Topic Author
  • mrperfectpz
  • Away
  • Gold Breezer
  • Gold Breezer
  • Posts: 340
  • Thanks: 0
Hi Tihana, do you have a solutions for this yet ?

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

Auto select checkbox group 1 month 4 weeks ago #247273

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 1707
  • Karma: 3
  • Thanks: 154
Hi,

sorry, but give me a couple of hours.
As soon as I'm done I'll get back to you :)

Regards,
Tihana

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

Auto select checkbox group 1 month 4 weeks ago #247278

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 1707
  • Karma: 3
  • Thanks: 154
Hi again,

test this:
function ff_NAMEOFFIRSTCHECK_action(element, action)
{
    switch (action) {
        case 'change':
if(JQuery('input[name="'+JQuery(element).attr('name')+'"]:checked'))
{
jQuery('[name="ff_nm_NAMEOFSECONDCHECK[]"]').prop('checked', true);
}

            break;
        default:;
    } // switch
} // ff_NAMEOFFIRSTCHECK_action

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

Time to create page: 0.053 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!