TEMA:

Click on button to go to another Breezing Form 1 año 2 meses antes #275808

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Navegador Platino
  • Navegador Platino
  • Registered
  • Mensajes: 3262
  • Gracias recibidas: 163
Hi,

super! :)

Thank you for sharing your solution with community! :)

If you have more questions, feel free to ask!


Regards,
Mirko

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

Click on button to go to another Breezing Form 1 año 2 meses antes #275947

  • sitavs
  • Fuera de línea
  • Navegador Junior
  • Navegador Junior
  • Registered
  • Mensajes: 30
  • Gracias recibidas: 0
After further testing, it seems this solution doesn't work as expected; The page redirects to the new URL before the form is fully submitted, so the data isn't saved.

Instead, I've added a radio button, which asks whether the user wants to submit the form or submit and redirect (which actually goes back to the same form):
$value = ff_getSubmit('add_cab');
switch( $value )
{
     case 'yes': header("Location: https://mypage.com/index.php?option=com_breezingforms&view=form&Itemid=111&data_ref_id={$ref_id}&cab_number={$cab_number}"); exit;break;
}

Thanks,

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

Click on button to go to another Breezing Form 1 año 2 meses antes #275948

  • Avatar de Mirec
  • Mirec
  • Fuera de línea
  • Navegador Platino
  • Navegador Platino
  • Registered
  • Mensajes: 3262
  • Gracias recibidas: 163
Hi,

super solution!

Thank you for sharing the solution!

If you have more questions, feel free to ask!


Regards,
Mirko

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

  • Página:
  • 1
  • 2
  • 3
Moderadores: ForumSupport
Tiempo de carga de la página: 0.051 segundos

Live Support Chat Opened!

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