Conflict in PHP when using form within form?

Asked

Viewed 40 times

0

I do not know if it is possible, but I had the need to use one form inside the other, as in this example:

<form action="" method="POST" enctype="multipart/form-data" id="enviar_cadastro" name="enviar_cadastro">
  <form action="" method="POST" enctype="multipart/form-data" id="outra_acao_1" name="outra_acao_1">
  </form>
  <form action="" method="POST" enctype="multipart/form-data" id="outra_acao_2" name="outra_acao_2">
  </form>  
</form>

But it gives conflict in PHP, it is not even possible to use one form within another or there is some correct form?

  • pq needs one form inside another? there must be another way to do yes.

  • 3

    There is no <form> inside another, this is a mistake! because it is doing so, what are the reasons that led to arrive at this implementation?

  • I understand. I’ve always had this question, but I never stopped to ask. If there is no form inside the form I’ll think of other possibilities. Thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.