I would like to post the form fields to 1 url and redirect to a different url. The code i have posts to the url i want but how to i redirect to a different one? URL I want to post the submissions to: www.mywebsite.com/submissions URL I want to redirect the user to on submission: www.anotherwebsite.com/confirmation
Here's what i have so far:
<form action="https://mywebsite.com/submissions"
method="post">
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<input type="submit" value="Submit">
</form>