android - input type="file" accept="image/*" capture="camera" not working for mobile -


I have found a simple form that uploads some basic information and an image to my farmtole database. It works perfectly on the desktop but not on the mobile. When I test on my Android phone it asks me to select the camera or file browser, I have tried both the camera and the file browser and I take a picture / upload an image that looks like , Then you load the thank you page, but when I

why is not anyone doing this work?

Here's the form

  & lt; Enctype = "multipart / form-data" id = "competitionform" class = "uniForm cmxform" name = "competitionform" method = "post" action = "/ formtools / process.php" & gt; & Lt; Input type = "hidden" name = "form_tools_form_id" value = "110" /> & Lt; Header & gt; & Lt; H2 & gt; Upload your image & lt; / H2 & gt; & Lt; / Header & gt; & Lt; Label & gt; Your name & lt; / Label & gt; & Lt; Input width = "100px;" Type = "text" placeholder = "" name = "name" /> & Lt; Label & gt; Your email & lt; / Labels & gt; & Lt; Input type = "text" placeholder = "" name = "email" /> & Lt; & Lt; Label = "file" & gt; Upload Safe & lt; / Labels & gt; & Lt; Input type = "file" name = "uploadselfie" /> & Lt; Input type = "submit" id = "submit" value = "upload safy" /> & Lt; / Form & gt;   

I also tried to add

  accept = "image / *" capture = "camera"   

You have to take a picture from the input of the camera, then the thank you page loads, but no image is uploaded to the formulas database.

Thanks

& lt; Form & gt; with enctype = "multipart / form-data" can only upload images / files and so on. It can not send other input which is text for the database.

At this point you have to set up two variations, one for input type = text , second input type = file . for

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -