PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Mailchimp not working

  1. zagriyen
    Member

    Hi
    My Mailchimp addon not working and i get a javascript error :
    TypeError: fieldValue.replace is not a function
    str += "<option value='" + fieldValue.replace(/'/g, "'") + "' " + selected + ">" + TruncateMiddle(field.choices[i].text, labelMaxCharacters) + "</option>";

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  2. David Peralty

    Which versions of WordPress and Gravity Forms are you using? Are you using the latest Mailchimp Add-on?

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  3. zagriyen
    Member

    Hi David,
    I'm using the latest WP and GF version, the version of Mailchimp is the latest.
    I have a form that i populating with admin ajax,
    I tried to disable this but i got the same issue with the mailchimp addon

    Posted 11 years ago on Monday June 3, 2013 | Permalink
  4. zagriyen
    Member

    a screenshot of the error mentioned above

    Posted 11 years ago on Thursday June 6, 2013 | Permalink
  5. David Peralty

    Which file is that error pointing at? Did you mention you tried to customize something?

    Posted 11 years ago on Thursday June 6, 2013 | Permalink
  6. zagriyen
    Member

    Hi,
    the file is /wp-admin/admin-ajax.php
    Yes i populate a field with an ajax function but i disable it for testing . and i have the same issue with the mailchimp plugin .

    edit : My form have multi pages form

    Posted 11 years ago on Monday June 10, 2013 | Permalink