I build my own php-script for my own form submission.
It works fine, but I want to use the build in success/fail-message from Webflow.
I build a script based on this post (Form submissions to third-party service with native interactions) and put it into custom-code/footer in project-settings.
The script from the post above works fine with Basin and shows the build-in Webflow success/fail-messages.
I don’t know why, but for any reason my script won’t show the success or failed message. Any idea what I did wrong? The PHP script seems to work, because I’ll get an email with the form-data.