Page 1 of 1

Toast and Form Failure/Success

Posted: Sun Jul 13, 2025 10:27 am
by christrentrsa
Hi Everyone

Apologies in advance if i missed a post containing the solution.

I have a form on my page and I have added and designed toasts for successful submission and for submission failure. My questions is:

How do I get the toasts to display on successful submission of the form or failure to submit the form. I have looked online for guidance but in web builder i cannot find the onsuccess and onerror events. Please can some guide me on this. I have already set the toasts initial display to -1

Re: Toast and Form Failure/Success

Posted: Sun Jul 13, 2025 11:32 am
by Pablo
Toast were not designed for this purpose. They cannot be triggered via PHP code, only via events (JavaScript)