Upload files, form within form
Posted
by
Alexd2
on Stack Overflow
See other posts from Stack Overflow
or by Alexd2
Published on 2010-09-23T17:15:15Z
Indexed on
2011/01/12
18:53 UTC
Read the original article
Hit count: 154
Hello everyone and thanks in advance. I have a problem and I have 2 form into one another, the domestic form is to perform a file upload. As I can do to make when sending in internal form not run the main form.
<form name="x" method="post" action="xxx.php">
....
<form action="" method="post" enctype="multipart/form-data" target="xxx">
<input type="file" />
<input type="submit" />
</form>
<iframe id="xxx" src="process.php">
</iframe>
....
<input type="submit" name="pro" value="Register user"/ >
</form>
Doing this does not work, as this within another form. Any help or possible solution.
© Stack Overflow or respective owner