Support » Plugin: Contact Form 7 » iOS Support for FormData

  • While much older versions of iOS Safari do not support the FormData object, those that do will return typeof ‘object’ rather than ‘function’.

    This creates a false positive on the checks for FormData existence in the Submit callbacks for mobile Safari as recently as iOS 10, and triggers the standard POST fallback rather than the usual AJAX submission.

    A potential fix has been outlined here:

    https://wordpress.org/support/topic/when-submitting-a-form-it-reloads-the-page-completly-in-safari/#post-9555439

    Changing from typeof window.FormData !== "function" to typeof window.FormData === "undefined" on lines 49 and 188 of includes/js/scripts.js confirmed working in Browserstack iOS 7 Safari.

Viewing 1 replies (of 1 total)
  • Thread Starter maiorano84

    (@maiorano84)

    It’s incredibly disheartening to see that such a simple fix has been ignored for this long.

    What is the status of this? What is the reasoning behind ignoring this issue?

Viewing 1 replies (of 1 total)
  • The topic ‘iOS Support for FormData’ is closed to new replies.