Need help with check_multiple field

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: EOL CLEANUP


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 2 years ago

  • 0
  • 1
Photo of Heather Sturm

Heather Sturm, Integrations Support Specialist

  • 99 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.