This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Trouble with MailChimp - Date field


  1. robertosantos
    Member

    Hi!

    I'm having trouble to send date input to Mailchimp. My form has Email, First Name, Last Name and Birthday (MM/DD/YYYY). See below the Raw Data I used:

    {
    "apikey": "xxx",
    "id": "MY_ID",
    "email": {
    "email": "{element_2}"
    },
    "merge_vars": {
    "FNAME": "{element_1}",
    "LNAME": "{element_3}"
    },
    "MMERGE8[month]": {
    "MMERGE8[month]": "{element_4_mm}"
    },
    "MMERGE8[day]": {
    "MMERGE8[day]": "{element_4_dd}"
    },
    "MMERGE8[year]": {
    "MMERGE8[year]": "{element_4_yyyy}"
    },
    "double_optin": false,
    "update_existing": true,
    "replace_interests": true,
    "send_welcome": true
    }

    I also tried:

    {
    "apikey": "xxx",
    "id": "MY_ID",
    "email": {
    "email": "{element_2}"
    },
    "merge_vars": {
    "FNAME": "{element_1}",
    "LNAME": "{element_3}"
    },
    "MMERGE8": {
    "MMERGE8": "{element_4}"
    },
    "double_optin": false,
    "update_existing": true,
    "replace_interests": true,
    "send_welcome": true
    }

    Everything is transmitted except date.

    Can you help?

    Posted 9 years ago #
  2. yuniar

    What is the exact version of your machform? Can you contact us directly and send us your "includes/helper-functions.php" file please.
    Please mail to: customer.service [at] appnitro.com


    MachForm Founder

    Posted 9 years ago #

RSS feed for this topic

Reply