Open machtelik81 opened 3 years ago
It seems there is a problem with your page's configuration, not a problem from the theme. You check to see if you forgot to create the Thank You page.
It seems there is a problem with your page's configuration, not a problem from the theme. You check to see if you forgot to create the Thank You page.
Is it possible to show a alert or replace the form into a message, instead of showing a new page. The theme is a singlepage so it would be great to keep everything on that side.
The theme doesn't support this at the moment. If you want to achieve this you need to override the theme's templates. Here is the instruction for how to submit Form plugin's form with AJAX: https://learn.getgrav.org/17/forms/forms/how-to-ajax-submission.
By sending the contact-form there occurs an error.
if (!$page) { throw new RuntimeException('Display page not found. Please check the page exists.', 400); }
The E-Mail is sending successfully. I think it is just the "Thank you" Message.