1 – if validation fails, it still renders the “message”
2 – there’s no conditional redirect, only a single redirect
– how do I redirect upon successful form submission?
– how would I subscribe in the code to /after/ the form is successful (validation passed, and data saved), /with/ the data accessible to say send an email and/or redirect after?
This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies. Find out more.