How to pass checkbox data

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
I have checkbox field in contact form, try to pass the data like:

"field-name": " True", or "field-name": " Yes", or "field-name": " checked"

 none of them work. Please help. thanks
Photo of Cuisine Solutions

Cuisine Solutions

  • 3 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 0
  • 1
Photo of Greg Rathbun

Greg Rathbun, Customer Service Specialist

  • 296 Posts
  • 22 Reply Likes
Official Response
Greg with Emma Support here!

It seems like you're trying to pass info into Emma using our API.

You can find documentation on our API at the following link.

If you're needing assistance troubleshooting code or coding our API, our Tech Services team is available for hire.

If you're interested, you can submit a request at the following link. Once you submit a request, someone from our Services team will reach out to go over details and pricing.

A friend of mine on our Tech Services team did mention that when passing checkbox fields to the API, they need to be formatted like this:

“emma-field-name": [“field value"]

Hope that helps; if not, I'm sure our Tech Services team can assist further!