Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all other plugins.

    WP 4.7

    I’ve not yet confirmed the compatibility with WordPress 4.7.

    4.7 will be released December, 6, 2016 btw

    Thread Starter ipgmail

    (@ipgmail)

    My mistake, Im running WP 4.6

    @ipgmail, just FYI, I’ve just tested your sample and it works fine for me (same CF7 v4.5, WP v4.6).

    Thread Starter ipgmail

    (@ipgmail)

    Just tested on a 2nd WP 4.6 site with CF& v4.5 – same result. The “additional_settings” are not being triggered.

    @ipgmail, can you provide AJAX response that you receive after submitting the form ?

    Thread Starter ipgmail

    (@ipgmail)

    how do I do that?

    @ipgmail, where are you expecting to see result of your console.log('OK') function ?

    Thread Starter ipgmail

    (@ipgmail)

    Using Chrome, in the developer javascript console.

    1. open your browser console
    2. go to Network tab, optionally clear the log
    3. submit your form, there must appear a new XHR request
    4. after it returns 200, click on it with right mouse button “Copy response”. Must be something like {"mailSent":true,"into":"#wpcf7-f123456-p123456-o2","captcha":null,"message":"Your message was sent successfully. Thanks."}

    Thread Starter ipgmail

    (@ipgmail)

    I see nothing in the XHR section. There is only 1 POST message, it returns 200 status, and the contents of the response is the entire new page. The email is being sent successfully, the but actions in the additional_settings are not happening.

    are you seeing “Your message was sent successfully. Thanks.” message after form submission ?

    Thread Starter ipgmail

    (@ipgmail)

    Yes, I see that.

    The actions in the additional_settings are not being triggered. Ive tried just using simple

    on_sent_ok: "console.log('email sent');"

    as well as the examples given in the documentation like

    on_sent_ok: "alert('email sent');"

    and they are not being triggered and I see no JS errors or anything else indicating a problem in the console.

    That’s weird. Message “Your message was sent successfully. Thanks.” comes from ajax response, with onSuccess callbacks. Is your form publicly available ? Can you give url ?

    Thread Starter ipgmail

    (@ipgmail)

    Try this: https://ipgmail.com/test

    Its a basic form, no captcha or anything else. The additional_properties for that form is set to:

    on_sent_ok: "alert('Sent OK');"

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘additional_settings dont work’ is closed to new replies.