title: Retain the order of fields during creation in Orchard CMS custom forms
body: <p>I created a <a href="http://orchardcustomforms.codeplex.com/" rel="nofollow">custom form</a>, and adding the fields in a specific order. The form is like a questionnaire wherein the next question is a follow-up of the previous question(s) above it.</p>
  
  <p>I tried modifying the placement.info file, but I can only modify the sequence per control type (numeric before datetime, boolean before text)...</p>
  
  <p>I tried making the order number the same,  in the hopes that the "default" ordering of fields at the time of creation will take over - no joy.</p>
  
  <pre><code>&lt;Place Fields_Input_Edit="Content:2.0"/&gt;
  &lt;Place Fields_Input="Content:after"/&gt;
  &lt;!-- Numeric --&gt;
  &lt;Place Fields_Numeric_Edit="Content:2.0"/&gt;
  &lt;Place Fields_Numeric="Content:after"/&gt;
  </code></pre>
  
  <p>So I guess the next step here is to use the Shape Designer, inspect the "widget" and override it (Shape->Alternate-Create)? It generates a file (e.g. Widget-url-membership-online-application.cshtml ), and I guess I will start working from this file?</p>
  
  <p>The contents of the file just shows this:</p>
  
  <pre><code>@Display(Model.Content)
  </code></pre>
  
  <p>How do I address a specific field such I can do something like:</p>
  
  <pre><code>&lt;label for="FirstName"&gt;@T("Your First Name")&lt;/label&gt;
  &lt;input id="FirstName" class="text" name="FirstName" type="text" value="@Model.??????"/&gt;
  </code></pre>
  
  <p>There must be an easier way!</p>