Bienvenido, Invitado
Recordarme

TEMA:

conditional fields showing in mailback issue 1 mes 4 semanas antes #273627

  • Autor del tema
  • bamhost
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 215
  • Gracias recibidas: 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();
}
});
});

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

conditional fields showing in mailback issue 1 mes 4 semanas antes #273630

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 2676
  • Karma: 2
  • Gracias recibidas: 145
Hi,

did you test it?

my solution works?

regards,
Mirko

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

conditional fields showing in mailback issue 1 mes 4 semanas antes #273637

  • Autor del tema
  • bamhost
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 215
  • Gracias recibidas: 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?

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

conditional fields showing in mailback issue 1 mes 4 semanas antes #273643

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Ultimate Breezer
  • Ultimate Breezer
  • Mensajes: 2676
  • Karma: 2
  • Gracias recibidas: 145
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
Adjuntos:

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Última Edición: Post by Mirec.

conditional fields showing in mailback issue 2 semanas 3 días antes #275099

  • Autor del tema
  • bamhost
  • Fuera de línea
  • Expert Breezer
  • Expert Breezer
  • Mensajes: 215
  • Gracias recibidas: 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.

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

conditional fields showing in mailback issue 2 semanas 3 días antes #275111

  • Avatar de tihana.krivic
  • tihana.krivic
  • Fuera de línea
  • Moderator
  • Moderator
  • Mensajes: 10539
  • Karma: 3
  • Gracias recibidas: 705
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

Por favor, Identificarse o Crear cuenta para unirse a la conversación.

Moderadores: ForumSupport
Tiempo de carga de la página: 0.082 segundos