Is it possible to change te default success page you get when you submit a form
I found different answers regading this problem, some said just use the action data-attribute but it just ignores it. Other said you need to redirect with use of functions
If you need to redirect the page can someone pleas explain it to me in detail how to do it because I have no clue on how to do it.
It would be nice to see if the action arrtibute works because it is the intended way of handeling a submission
Our docs cover the most simple way of changing the form’s action upon submission. We also have a great guide which looks at examples from a couple of popular static site generators which you may want to check out!
my code is <form action="/dist/pages/form_afhandeling.php" method=“post” … and it just ignores it and on the live page it looks like this <form method=“post” ….
I was trying to get name, email, message, … with php and build a page with php so I would have the persons name and stuff like that.
But that you can’t or am i wrong
In what language can I try to replicate this or is there none?
If not: do I need to make a normal html page and it would be all good but I lose the name and stuff like it?