Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
August 2, 2017 04:01 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks