title: Ruby on rails, split a big form into separate smaller forms
body: <p>Could not find the answer to the question on how to split forms in rails in multiple smaller forms.</p>
  
  <p>Say you have a big form with</p>
  
  <ul>
  <li>firstname</li>
  <li>lastname</li>
  <li>gender</li>
  <li>age</li>
  <li>email</li>
  <li>country</li>
  <li>city</li>
  <li>state</li>
  </ul>
  
  <p>I have a <code>validate_presence</code> for all these fields. So when I create several forms like:</p>
  
  <pre><code>= simple_form_for @profile, :wrapper =&gt; :inline do |f|
  
    = f.label "firstname"
    = f.select :firstname
  </code></pre>
  
  <p><em>without</em> all the values from the top list (first name,last name,etc) I get errors because the splitter form does not contain those values and they need to be present at first to make this work at all.</p>
  
  <p>What would be a good way to have several forms but with only a portion of the values and update them without getting the issue described above?</p>