Two forms, one submit button

Viewed 8086

I have two forms, I need one submit button for two forms. How I can do it, without ajax?

<form action="" id="form" method="post">
    <input type="file" name="file">
    <input type="text" name="text">
</form>

<form action="" id="form2" method="post">
    <input type="file" name="file">
    <input type="text" name="text">
</form>

I know that this topic has been raised more than once, but it's not a duplicate, as I need it without ajax

2 Answers
Related