So I’ve been battling this for almost two weeks now. I have a web server that I am trying to send a form to. This form has required fields. I’ve given up trying to send text and files together as I’ve got perfectly working code on the corona simulator (based on http://developer.coronalabs.com/code/how-upload-image-server-multipartform-data) that neither works, nor errors on the xcode simulator or device.
I’ve tried a native form, posting data to the server, using native.newTextField. This works great to make required fields as you can check on submitting the form, but these text fields are ridiculous to use. They do not work with scrollviews, and doing a manual scrollview (like I do with everything because the scrollview itself is rediculous) doesn’t work because the text fields bunch up like idiots when you scroll.
So now I’m trying to embed a webview, do these webviews not support HTML5? Using the “required” parameter in input text boxes works just fine on browsers, but these native webviews just ignore it. They also do not support javascript. But I need these fields required.
Any ideas? Is there an alternative to the newTextField that works better? Is there a way to make HTML inputs required?
Thanks