Help - Search - Members - Calendar
Full Version: Multiple Submit Buttons
HTMLHelp Forums > Programming > Client-side Scripting
Blue Man Group
Hello, I have an HTML form which had two sets of fields under different Div tags. I want to have a submit button half way down the page that when submitted will submit the top portion of the fields (Div1) and a submit button at the bottom of the page that will submit the lower half fields (Div2). Any ideas on how to do this?
Darin McGrew
QUOTE(Blue Man Group @ Aug 23 2019, 10:33 AM) *
Hello, I have an HTML form which had two sets of fields under different Div tags. I want to have a submit button half way down the page that when submitted will submit the top portion of the fields (Div1) and a submit button at the bottom of the page that will submit the lower half fields (Div2). Any ideas on how to do this?
That sounds like two separate forms. The top form has fields submitted by the top submit button, and the bottom form has fields submitted by the bottom submit button.
Blue Man Group
QUOTE(Darin McGrew @ Aug 23 2019, 02:15 PM) *

QUOTE(Blue Man Group @ Aug 23 2019, 10:33 AM) *
Hello, I have an HTML form which had two sets of fields under different Div tags. I want to have a submit button half way down the page that when submitted will submit the top portion of the fields (Div1) and a submit button at the bottom of the page that will submit the lower half fields (Div2). Any ideas on how to do this?
That sounds like two separate forms. The top form has fields submitted by the top submit button, and the bottom form has fields submitted by the bottom submit button.


So you think I can just put each Div tag (Div1 and Div2) in separate Form tags both on the same page?
Darin McGrew
QUOTE(Blue Man Group @ Aug 23 2019, 12:34 PM) *
So you think I can just put each Div tag (Div1 and Div2) in separate Form tags both on the same page?
I don't see why not.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.