Jump to content

Form in form


Joshua4550

Recommended Posts

Is it possible to use one form inside another? such as:

 

<form method="POST">
  <form method="POST">
    <input type="text" name="1" value="1" />
    <input type="submit" value="Go" />
  </form>
  <form method="POST">
    <input type="text" name="2" value="2" />
    <input type="submit" value="Go" />
  </form>
  <input type="submit" value="All" />
</form>

 

Would this work? (What was intended is that the final submit button would submit information from all forms inside that one whole form)

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/202269-form-in-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.