I am creating a mobile webapp in which pictures from the user's phone play a significant role.
I have this form in which a user can upload a snapshot from a mobile phone to the application database. I am using the CodeIgniter download class to do the actual download.
<form enctype="multipart/form-data" action="myapp/do_upload" method="post" accept-charset="utf-8">
<input type="file" accept="image/*" capture="camera" name="userfile"></input>
<input type="submit" value="Submit" class="btn btn-block"></button>
</form>
Problem:
The application works fine on my desktop computer: you select a file, it downloads it and gives an error if it does not work.
However, when I try to do the same on my mobile phone (Android with Android Mobile Chrome), the submit button refuses to work.
I tried playing with attributes - without success.
Any idea on what to stop the form from actually working?