Skip to content

Instantly share code, notes, and snippets.

@phyesix
Created August 20, 2019 18:22
input types - "formaction" attribute
<form action="/page1.php">
Username: <input type="text" name="u"><br>
Password: <input type="password" name="p"><br>
<button type="submit">Submit</button><br>
<button type="submit" formaction="/page2.php">Submit to another page</button>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment