Need help with check_multiple field

  • 0
  • 1
  • Question
  • Updated 4 weeks ago
  • Answered

Please help me to post multiple check boxes selection to check_multiple field in myemma.
What would be the syntax?
I mean what should I be passing in $type = $_POST['???'];
  and in my
$member_data = array( "type-of-business" => $type );

Thank you!
Photo of Clemens Food Group

Clemens Food Group

  • 3 Posts
  • 0 Reply Likes

Posted 4 weeks ago

  • 0
  • 1
Photo of Heather Sturm

Heather Sturm, Integrations Support Specialist

  • 92 Posts
  • 3 Reply Likes

I'm presuming that you are updating member information, rather than creating the field itself. Is that correct? If so, you should be able to post the checkbox options in an array, separated by commas.

For example, if you have a field called check-me with the values as check1, check2, and check3, it would look like:

            "fields": {
                "check-me": ["check1", "check2", "check3"]
            "email": ""

More information on posting member updates can be found here.

I hope this helps! Let us know if you have additional questions.