Redirect form after submit

by

Add the bold text to your form:
<form target="_blank" action="https://website.com/action.php" method="POST">
<input type="hidden" name="fullname" value="Sam" />
<input type="hidden" name="city" value="Dubai&#32;" />
<input onclick="window.location.href = 'https://website.com/my-account';" type="submit" value="Submit request" />
</form>

Leave a Reply

Your email address will not be published. Required fields are marked *


PageLines