An Interest In:
Web News this Week
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
August 2, 2017 04:01 pm GMT
Original Link: https://css-tricks.com/separate-form-submit-buttons-go-different-urls/
Separate Form Submit Buttons That Go To Different URLs
This came up the other day. I forget where, but I jotted it down in my little notepad for blog post ideas. I wrote it down because what I was overhearing was way over-complicating things.
Say you have a form like this:
<form action="/submit">
<!-- inputs and stuff -->
<input type="submit" value="Submit">
</form>
When you submit that form, it's going to go to the URL `/submit`. Say you need another submit button that submits to a different URL. It doesn't …
Separate Form Submit Buttons That Go To Different URLs is a post from CSS-Tricks
Original Link: https://css-tricks.com/separate-form-submit-buttons-go-different-urls/
Share this article:
Tweet
View Full Article