TOPIC:

conditional fields showing in mailback issue 9 months 16 hours ago #273627

  • Topic Author
  • bamhost
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 224
  • Thanks: 1
Hello Mirec,

Why can't something like the following work?:

jQuery(function($){
$('#ff_elem4557').change(function(){
if($(this).val() === 'Credit_Card'){
$('#chkAccountInformation, #venmo, #cashapp, #paypal, #bankAccount').remove();
}
else if($(this).val() === 'Bank_Check'){
$('#ccInformation, #venmo, #cashapp, #paypal, #bankAccount').remove();
}
else if($(this).val() === 'Venmo'){
$('#ccInformation, #chkAccountInformation, #cashapp, #paypal, #bankAccount').remove();
}
else if($(this).val() === 'CashApp'){
$('#ccInformation, #chkAccountInformation, #venmo, #paypal, #bankAccount').remove();
}
else if($(this).val() === 'PayPal'){
$('#ccInformation, #chkAccountInformation, #venmo, #cashapp, #bankAccount').remove();
}
else if($(this).val() === 'Bank_Account'){
$('#ccInformation, #chkAccountInformation, #venmo, #cashapp, #paypal').remove();
}
});
});

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

conditional fields showing in mailback issue 9 months 16 hours ago #273630

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

did you test it?

my solution works?

regards,
Mirko

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

conditional fields showing in mailback issue 9 months 14 hours ago #273637

  • Topic Author
  • bamhost
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 224
  • Thanks: 1
Hello Mirko,

Okay, this is what I did:

I selected Credit Card, filled out a few of the fields, then switched payment method to Bank Check and filled out a few of its fields, I then switched back to Credit Card just to see if the fields I had filled in initially were empty, and yes they were empty, but I went ahead and filled in a few fields, just to see if when I switched back to the Bank Check if those fields would now be empty, but they are not...they still have the data I entered.

So my question is, your solution works if the user changes payment method one time, but not beyond that?

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

conditional fields showing in mailback issue 8 months 4 weeks ago #273643

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


I teste now and on works!

you said:

I went ahead and filled in a few fields, just to see if when I switched back to the Bank Check if those fields would now be empty, but they are not...they still have the data I entered.


do you talk here about 'Bank Check ' to isn't empty?


In the test, the elements connected with 'Credit Card' only should be empty, another no, because I didn't finish the code for other elements!

Let me know!

Only this element should be empty, see the image below:




regards,
Mirko
Attachments:

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

Last edit: Post by Mirec.

conditional fields showing in mailback issue 7 months 2 weeks ago #275099

  • Topic Author
  • bamhost
  • Offline
  • Premium Member
  • Premium Member
  • Registered
  • Posts: 224
  • Thanks: 1
Hello Tihana,

Any update as to when the update for WordPress Breezing Forms will be released?...or even the release for Joomla. It's been well over a year and a half. I have several new sites that I need to install it on and with all the fixes that have been made to the "already" installed, I've lost track of everything that needs to be fixed.

Thanks a bunches for your reply.

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

conditional fields showing in mailback issue 7 months 2 weeks ago #275111

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Registered
  • Posts: 12079
  • Thanks: 778
Hi,

it is vacation time, but we will finish it I hope soon :)

About joomla, I have already "saved" updates for php 8 and joomla 3, but need add some modification, but if you want I can help you with installation

Regards,
Tihana

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

Moderators: ForumSupport
Time to create page: 0.060 seconds

Support Chat

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

After joining, please enter the Crosstec Area and use the #crosstec-support or #crosstec-general channels.

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!