TOPIC:

Read only field by condition 2 months 2 weeks ago #278800

  • Luisserafim's Avatar Topic Author
  • Luisserafim
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 279
  • Thanks: 1
Hi Mirko,

We need the same but to disable a radio button if xx = 1

Tx in advance

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

Read only field by condition 2 months 2 weeks ago #278802

  • Mirec's Avatar
  • Mirec
  • Offline
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 3262
  • Thanks: 160
Hi,

do you mean if the text element == 1 then disable radio button ?

Regards,
Mirko

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

Read only field by condition 2 months 2 weeks ago #278806

  • Luisserafim's Avatar Topic Author
  • Luisserafim
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 279
  • Thanks: 1
Hi Mirko,

Yes, that's it :)

Tx in advance

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

Read only field by condition 2 months 2 weeks ago #278808

  • Mirec's Avatar
  • Mirec
  • Offline
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 3262
  • Thanks: 160
Hi,

the code is
jQuery( '#cb_19276' ).change(function() {

if(jQuery( '#cb_19276' ).val() == 1){

jQuery('input[name="cb_19453[]" ] ').attr("disabled",true);


}else
{
jQuery('input[name="cb_19453[]" ] ').attr("disabled", false);

}
});

Regards,
Mirko

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

Read only field by condition 2 months 2 weeks ago #278811

  • Luisserafim's Avatar Topic Author
  • Luisserafim
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 279
  • Thanks: 1
Hi,

Can we do this on page ready or on edit? not on change?

Tx in advance

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

Read only field by condition 2 months 2 weeks ago #278826

  • Mirec's Avatar
  • Mirec
  • Offline
  • Platinum Member
  • Platinum Member
  • Registered
  • Posts: 3262
  • Thanks: 160
Hi,

on what exactly do you mean?

Could you please explain it a little better?


Regards,
Mirko

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

Time to create page: 0.061 seconds

Support Discord

Join our Discord and enter the Crosstec channels for live-support, chat forums and directly interacting with the community!

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

Subscribe to news and updates!

Special Offer

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!

Live Support Chat Opened!

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