File Upload Breaks Form on iPhone, iPad
-
On iPhone/iPad (iOS 11.4.1) I’ve noticed when a form contains a file upload field and a file is not selected for upload (regardless of whether or not the file field is set as required) the form will not submit or provide feedback. The ajax-loader gif simply spins continuously. This is the case on all browsers, Safari, Chrome, Firefox, Opera.
Here is the error from dev tools console:
[native code]:1
POST https://localhost/wp-json/contact-form-7/v1/contact-forms/21/feedback The operation couldn’t be completed. Protocol error
send @ [native code]:1
send @ jquery.js?ver=1.12.4:4
ajax @ jquery.js?ver=1.12.4:4
submit @ scripts.js?ver=5.0.3:346
(anonymous function) @ scripts.js?ver=5.0.3:53
dispatch @ jquery.js?ver=1.12.4:3
handle @ jquery.js?ver=1.12.4:3Any ideas?
The form works as expected on other devices.
WP: 4.9.7
Theme: twentyseventeen 1.6 (issue occurs using other themes as well)
CF7: 5.0.3
No other plugins active
- The topic ‘File Upload Breaks Form on iPhone, iPad’ is closed to new replies.