Checkbox Value + Workflow Issues


#1

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.


#2

@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.


#3

Ah! That helps a lot. Thanks for your help