Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1335250

    Trying to get the Mailchimp signup API that is included in my Kriesi Enfold theme to work.

    I have entered the correct Mailchimp API into the theme, it has communicated with Mailchimp and gotten a listing of my email lists.

    The API has seemed simple to set-up (thank you),

    but when I try to put it into action and fill it out a subscribe form on this page:

    https://wp.me/P7aZKh-2l1

    It errors out and says “please enter the correct information”.

    I have been in contact with MailChimp and we worked thru things for several hours yesterday. They have gone as far as they can with things and have thrown it to the developer (you – Kreishi)

    They helped me debug it down to this:

    The problem is the ‘Wedding Date’ field – it has a dropdown calendar that incorrectly populates the field with DD / MM / YYYY instead of the required MM/DD/YYYY (note the day month switch AND the extra spaces on either side of the /)

    If I manually put in the correct MM/DD/YYYY the form works fine, but that won’t fly when someone comes to the site and can’t get it to work right.

    It doesn’t matter if I have the date format in MailChimp’s merge fields set as MM/DD/YYYY or DD/MM/YYYY – it still errors out unless its filled out as MM/DD/YYYY without spaces.

    I need to get this dropdown calendar to work right.

    Help!

    #1335282

    Hey,

    Thanks for contacting us!

    Could you please try adding following code to bottom of Functions.php file of your child theme in Appearance > Editor and check if that helps?

    add_filter('avf_datepicker_dateformat', 'new_date_format');
    function new_date_format() {
    $date_format = "mm/dd/yy";
    return $date_format;
    }

    Best regards,
    Yigit

    #1335286

    Hi Yigit:
    Your a Jedi Master – that did the trick!
    THANK YOU, THANK YOU!!

    #1335289

    Hi,

    You are welcome! I am happy that I could help :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Mailchimp API integration problem’ is closed to new replies.