I am trying to write a multipart file upload
, and for this, i already have a form and a file upload button inside it.
Now, for this, i need to place enctype
attribute with in form
tag, now the problem is i don't want to send the whole form elements with this multipart
request!
I want to do this file upload
before form submission and then fill all the input elements in the form and then submit, and I cannot insert another form
tag in the existing parent form
tag.
Is there any alternate approach for this?
Thanks in advance!