Hello Marketo Nation,
I've got a form field of type string, which is embedded as a checkbox. Upon form submission, it's either saved as "yes" or "no" to the Marketo Database. However, I want it to have "True" and "False" respectively. The field is synced with another platform, so ideally this mapping is reflected during form submission already, not corrected afterwards using a smart campaign. What's the best way to do this?
Thanks in advance for your help!
Solved! Go to Solution.
Interesting, it seems to work. Using the `checkboxes` instead of the `checkbox` type would allow me to set an arbitrary value - e.g. 'true' or 'foo' - for checked string values, and the unchecked value is by default always saved as 'false', right?
Why would it make a difference to use "true" instead of "True" or "TRUE" - do you have a specific scenario on your mind, where it becomes problematic, if one wants to convert the string to a boolean?