• Contact Form 4.8 won’t work via ajax on Safari Mobile since window.FormData is returning an object and not a function on this browser.

    By changing

    if (typeof window.FormData !== ‘function’) by if (typeof window.FormData !== ‘function’ && typeof window.FormData !== ‘object’), it fix the problem.

    And by removing the used of jquery.form in Contact Form 4.8, it disabled backward compatibility with Internet Explorer 8-9 browser.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Could you please explain where to change the code to fix this? thanks.

    Thread Starter Frederic Fauvel

    (@noise98)

    In includes/js/scripts.js

    line 35
    – if ( typeof window.FormData !== ‘function’ ) {
    + if ( typeof window.FormData !== ‘function’ && typeof window.FormData !== ‘object’) {

    line 190
    – if ( typeof window.FormData !== ‘function’ ) {
    + if ( typeof window.FormData !== ‘function’ && typeof window.FormData !== ‘object’) {

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CF 4.8 and Safari on iOS’ is closed to new replies.