Forms, error/info/success, redirect, form-actions

  1. Is there any hack to call a javascript function in case of success / error / info message of forms?
  2. Can I send or use any html-code inside of success / error / info form-messages? If so, how?
  3. Is there any possibility forcing a form redirecting EVEN if there is an error?
    (off course I understand this is not the classic solution, but I need this redirection)
1 Like

same, I can’t find anywhere on how to do this

There are Form Submit, Form Success and Form Error interactions that you can use to run custom JS, or just add event listener to any of them:

Examples here:

Matej

Oh I didn’t know about this, I will try it out and updated here! Thank you Matej!

1 Like