Checkbox Value + Workflow Issues

Highlighted
New Member

I’m using the API to build the forms on my agency’s website. I’ve got a form w/ several boolean checkboxes. For some reason, whenever I submit the form the checkbox values are coming through as ‘on’ or ‘off’, rather than ‘yes’ or ‘no’. The workflow settings only allow me to select ‘Yes’ or ‘No’ as the potential values of that field for the user. How can I get the checkboxes to submit the appropriate value so that my workflow will run properly?

I can share URLs + more information as needed, let me know.

Reply
0 Upvotes
2 Replies 2
Community Manager

@heatherthedev internally checkbox properties use the values true and false. The Yes and No are the labels that get used in the UI, but if you’re submitting values through the API you need to use true or false.

Reply
0 Upvotes
New Member

Ah! That helps a lot. Thanks for your help

Reply
0 Upvotes