Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Kowar,

    In what browser are you seeing this error?

    Thanks in advance!

    Thread Starter Kowsar Hossain

    (@kowsar89)

    Firefox. Also you can see this error using “Debug Bar” plugin as well

    Same for me:
    TypeError: ‘block’ member of ScrollIntoViewOptions ‘center’ is not a valid value for enumeration ScrollLogicalPosition. forms-api.min.js:1:593

    …and scrolling to success info does not work (top of the page is loaded).

    I do not know if it is related but my form looks like that:

    <div class="et_pb_newsletter et_pb_subscribe clearfix et_pb_module et_pb_bg_layout_dark et_pb_text_align_left et_pb_signup_1">
      <!-- some header-related code here -->
      <div>
        <!-- some fields-related code here -->
        <p>
            <button type="submit" class="et_pb_button" style="display: block;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;width: 100%;color: inherit;text-align: center;cursor:pointer;">
              <span class="et_pb_newsletter_button_text">Submit</span>
            </button>
        </p>
      </div>
    </div>

    In submit button style I have display: block and text-align: center mentioned in error message.

    Versions:
    MailChimp for WordPress 4.1.9
    Wordpress 4.8.2
    Firefox 55.0.2

    On Chromium 61.0.3163.79 works fine.

    • This reply was modified 7 years, 1 month ago by trx44.
    Plugin Author Danny van Kooten

    (@dvankooten)

    We have fixed this issue in our GitHub development branch and we will push out an official update for this early next week.

    If you’re in a hurry to get the fix applied then you can always download the latest development version of the plugin here.

    Hi Danny,

    I can confirm that after upgrade to MailChimp for WordPress 4.1.10 it works fine again.

    Thank you for quick response and for preparing the fix.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Javascript Error after submitting form’ is closed to new replies.