title: ColdFusion checking empty form fields
body: <p>I am very new to ColdFusion and was curious if someone could tell me how to check to see if a form field is empty or not.</p>
  
  <p>For example let's say we set it up like this:</p>
  
  <pre><code>&lt;cfinput 
    type="text" 
    name="firstName"
    id="firstName" 
    value="#form.firstName#"
  &gt;
  </code></pre>
  
  <p>How do I call this later to use it in another form? I tried many things but I am missing something somewhere.</p>
  
  <pre><code>&lt;cfif (form.firstName) EQ 0&gt;
  </code></pre>