2 Replies Latest reply on Mar 13, 2017 11:09 AM by Joon Park

    What is the HTML value for Boolean fields?

    Joon Park

      Hey Marketo Nation!


      We have a HTML form (with our branding guidelines) that we submit via JavaScript using the Forms API.

      We have two Fields we created called 'Relocation' and 'UScitizen' that are of type Boolean.

      I add the values to the form using .addHiddenField() method of the Forms API, but I can't get to persist our Boolean Fields (Relocation and UScitizen).


      What value do Boolean type Fields accept? We've tried "yes, no", "Yes, No", "true, false", "True, False", true, false (JavaScript boolean values instead of strings).


      Thanks in advance!