title: Freemarker - Check Boolean value
body: <p>What's the right syntax to check if the value of boolean from the form data in FreeMarker, my code:</p>
  
  <pre><code>&lt;#if "${form.allStores}" !false&gt;
          &lt;@displayRow label="Receiving Stores" value="All Stores" /&gt;
      &lt;#elseif "${form.storesReceiving}" == false || "${form.storesReceiving}"?has_content&gt;
          &lt;@displayRow label="Receiving Stores" value="No Stores"/&gt;
      &lt;#else&gt;
  </code></pre>
  
  <p>I'm getting this error:</p>
  
  <pre><code>Could not prepare mail; nested exception is freemarker.core._MiscTemplateException: Can't convert boolean to string automatically, because the "boolean_format" setting was "true,false", which is the legacy default computer-language format, and hence isn't accepted. --
  </code></pre>