<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to send a value for [Single on/off checkbox] using form api in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233957#M12853</link>
    <description>&lt;P&gt;I have tried sending TRUE(boolean), True(string), 1(int), 1(string) but none of them was captured in the form.&lt;/P&gt;
&lt;P&gt;I am using PHP library &lt;A href="https://github.com/HubSpot/haPiHP" rel="nofollow noopener"&gt;https://github.com/HubSpot/haPiHP&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please guide.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 13:53:35 GMT</pubDate>
    <dc:creator>ar-hz</dc:creator>
    <dc:date>2017-04-25T13:53:35Z</dc:date>
    <item>
      <title>How to send a value for [Single on/off checkbox] using form api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233957#M12853</link>
      <description>&lt;P&gt;I have tried sending TRUE(boolean), True(string), 1(int), 1(string) but none of them was captured in the form.&lt;/P&gt;
&lt;P&gt;I am using PHP library &lt;A href="https://github.com/HubSpot/haPiHP" rel="nofollow noopener"&gt;https://github.com/HubSpot/haPiHP&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please guide.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:53:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233957#M12853</guid>
      <dc:creator>ar-hz</dc:creator>
      <dc:date>2017-04-25T13:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to send a value for [Single on/off checkbox] using form api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233958#M12854</link>
      <description>&lt;P&gt;I know it's weird.. imo 0 or 1 would make more sense..&lt;BR /&gt;
but what worked for me is sending TRUE or FALSE as string!&lt;/P&gt;
&lt;P&gt;'true'&lt;/P&gt;
&lt;P&gt;'false'&lt;/P&gt;</description>
      <pubDate>Tue, 13 Nov 2018 16:21:17 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233958#M12854</guid>
      <dc:creator>benvanlooy</dc:creator>
      <dc:date>2018-11-13T16:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to send a value for [Single on/off checkbox] using form api</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233959#M12855</link>
      <description>&lt;P&gt;Thanks for weighing in, &lt;A class="mention" href="https://community.hubspot.com/u/benvanlooy"&gt;@benvanlooy&lt;/A&gt;. I agree this is a bit strange.&lt;/P&gt;
&lt;P&gt;For others viewing this topic, if you're ever unsure of the format of a property's options, the "Get all [object] properties" endpoints are the best place to check.&lt;/P&gt;
&lt;P&gt;For example, the &lt;A href="https://developers.hubspot.com/docs/methods/contacts/v2/get_contacts_properties"&gt;Get all contacts properties&lt;/A&gt; endpoint returns two &lt;CODE&gt;options&lt;/CODE&gt; for each property with the &lt;CODE&gt;"fieldType": "booleancheckbox"&lt;/CODE&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;CODE&gt;value": "true"&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;CODE&gt;value": "false"&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 14 Nov 2018 20:14:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-send-a-value-for-Single-on-off-checkbox-using-form-api/m-p/233959#M12855</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-14T20:14:30Z</dc:date>
    </item>
  </channel>
</rss>

