title: How to not require a required input
body: <p>I have a <code>Building</code> that is associated with a <code>User</code>. A <code>User</code> can also register, login, etc. I have my validation set so that key <code>User</code> fields (e.g. <code>email</code>, <code>name</code>, etc.) are required.</p>
  
  <p>When I create a building, I'm also offering the ability to associate a user on the spot. My building form has inputs for that key user info:</p>
  
  <pre><code>&lt;?php echo $this-&gt;Form-&gt;input( 'User.first_name' ) ?&gt;
  &lt;?php echo $this-&gt;Form-&gt;input( 'User.last_name' ) ?&gt;
  &lt;?php echo $this-&gt;Form-&gt;input( 'User.email' ) ?&gt;
  </code></pre>
  
  <p>However, I don't want those inputs to be indicated as required b/c I want the user to be able to create a <code>Building without necessarily creating a</code>User` record. What I can't find a way to do is to <em>remove</em> the required class from the div that is being put there by the validation rule.</p>
  
  <p>I've tried various combinations of <code>'required' =&gt; false</code> and setting the <code>class</code> value, but nothing has worked so far. Is there a good way to un-require a form input?</p>
  
  <p>Thanks.</p>