Home > Web Front-end > HTML Tutorial > Why can't this form be submitted? _html/css_WEB-ITnose

Why can't this form be submitted? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:02:58
Original
1198 people have browsed it

Hello everyone, the form is as follows:

Person Id:
Person Name:
Group Id :
Customer Key:
Photo: & LT; input Type =" Submit "value =" Submit "/& GT;
& LT;/Form & GT;
After publishing through IIS:
1. Just select the file, which is the last Photo. After clicking Submit, the page cannot jump successfully, and the mouse keeps spinning...
2. If you do not select the last Photo file, Submission is OK.
I am a newbie in web development, please give me some guidance, thank you all!


Reply to discussion (solution)

Photo:


type should not be file, try changing it

The file attribute of input stores a pseudo path, which cannot be processed on the server side. The image needs to be uploaded to the server for further processing. Directly passing a pseudo path is not allowed. I don’t know if this is the problem you encountered?

Pictures cannot be submitted directly to the form. You need to transfer the picture to the server first, and then submit the form

Thank you everyone, the problem has been found. It is not a problem with the form, but a problem with the background program. .

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template