title: SharePoint2k7: Custom List EditForm annoying field labels, how to remove?
body: <p>I experienced some 'strange' differences on SharePoint 2007 between my TST and PRD environment. I was working on customising a list's EditForm, and I noticed the new form I created on TST displayed correctly like this:
  <img src="https://i.stack.imgur.com/N37N9.png" alt="Correct display format"></p>
  
  <p>This is the style I wanted. However, when I performed exactly same operation on the PRD, this was what I got, note the extra form field labels and wrappers around the same two fields:
  <img src="https://i.stack.imgur.com/EdHVK.png" alt="Incorrect display format with extra field container and field label"></p>
  
  <p>The source (of the generated html files) were different too:</p>
  
  <pre><code>    Correctly displayed:
  
  &lt;tr&gt;&lt;td width="190px" valign="top" class="ms-formlabel"&gt;&lt;H3 class="ms-standardheader"&gt;&lt;nobr&gt;Profit Centre&lt;span class="ms-formvalidation"&gt; *&lt;/span&gt;&lt;/nobr&gt;&lt;/H3&gt;&lt;/td&gt;
  &lt;td width="400px" valign="top" class="ms-formbody"&gt;&lt;span dir="none"&gt;
          &lt;input name="ctl00$m$g_193d5406_ba72_454b_b14c_87873ba714d6$ff5_1$ctl00$ctl00$TextField" type="text" value="ALL" maxlength="255" id="ctl00_m_g_193d5406_ba72_454b_b14c_87873ba714d6_ff5_1_ctl00_ctl00_TextField" title="Profit Centre" class="ms-long" /&gt;&lt;br&gt;
      &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td width="190px" valign="top" class="ms-formlabel"&gt;&lt;H3 class="ms-standardheader"&gt;&lt;nobr&gt;Status&lt;span class="ms-formvalidation"&gt; *&lt;/span&gt;&lt;/nobr&gt;&lt;/H3&gt;&lt;/td&gt;
  &lt;td width="400px" valign="top" class="ms-formbody"&gt;&lt;span dir="none"&gt;&lt;select name="ctl00$m$g_193d5406_ba72_454b_b14c_87873ba714d6$ff6_1$ctl00$DropDownChoice" id="ctl00_m_g_193d5406_ba72_454b_b14c_87873ba714d6_ff6_1_ctl00_DropDownChoice" title="Status" class="ms-RadioText"&gt;
                      &lt;option selected="selected" value="Not Yet Reconciled"&gt;Not Yet Reconciled&lt;/option&gt;
                      &lt;option value="Reconciled"&gt;Reconciled&lt;/option&gt;
                      &lt;option value="Reviewed"&gt;Reviewed&lt;/option&gt;
                      &lt;option value="Rejected by Reviewer"&gt;Rejected by Reviewer&lt;/option&gt;
                      &lt;option value="Approved"&gt;Approved&lt;/option&gt;
                      &lt;option value="Rejected by Approver"&gt;Rejected by Approver&lt;/option&gt;
  
                  &lt;/select&gt;&lt;br&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  
  
  ===========================================================
  Annoying wrapper displayed:
  
  &lt;tr&gt;&lt;td width="190px" valign="top" class="ms-formlabel"&gt;&lt;H3 class="ms-standardheader"&gt;&lt;nobr&gt;Profit Centre&lt;span class="ms-formvalidation"&gt; *&lt;/span&gt;&lt;/nobr&gt;&lt;/H3&gt;&lt;/td&gt;
  &lt;td width="400px" valign="top" class="ms-formbody"&gt;
  &lt;div align="left" class="ms-formfieldcontainer"&gt;
  &lt;div class="ms-formfieldlabelcontainer" nowrap="nowrap"&gt;
  &lt;span class="ms-formfieldlabel" nowrap="nowrap"&gt;Profit Centre&lt;/span&gt;&lt;/div&gt;
  &lt;div class="ms-formfieldvaluecontainer"&gt;
  &lt;span dir="none"&gt;
          &lt;input name="ctl00$m$g_7716bb24_9fc9_4e72_a2c6_bec888418014$ff6_1$ctl00$ctl00$TextField" type="text" value="ALL" maxlength="255" id="ctl00_m_g_7716bb24_9fc9_4e72_a2c6_bec888418014_ff6_1_ctl00_ctl00_TextField" title="Profit Centre" class="ms-long" /&gt;&lt;br&gt;
      &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td width="190px" valign="top" class="ms-formlabel"&gt;&lt;H3 class="ms-standardheader"&gt;&lt;nobr&gt;Status&lt;span class="ms-formvalidation"&gt; *&lt;/span&gt;&lt;/nobr&gt;&lt;/H3&gt;&lt;/td&gt;
  &lt;td width="400px" valign="top" class="ms-formbody"&gt;
  &lt;div align="left" class="ms-formfieldcontainer"&gt;
  &lt;div class="ms-formfieldlabelcontainer" nowrap="nowrap"&gt;
  &lt;span class="ms-formfieldlabel" nowrap="nowrap"&gt;Status&lt;/span&gt;&lt;/div&gt;&lt;div class="ms-formfieldvaluecontainer"&gt;
  &lt;span dir="none"&gt;
  &lt;select name="ctl00$m$g_7716bb24_9fc9_4e72_a2c6_bec888418014$ff7_1$ctl00$DropDownChoice" id="ctl00_m_g_7716bb24_9fc9_4e72_a2c6_bec888418014_ff7_1_ctl00_DropDownChoice" title="Status" class="ms-RadioText"&gt;
                      &lt;option value="Not Yet Reconciled"&gt;Not Yet Reconciled&lt;/option&gt;
                      &lt;option selected="selected" value="Reconciled"&gt;Reconciled&lt;/option&gt;
                      &lt;option value="Reviewed"&gt;Reviewed&lt;/option&gt;
                      &lt;option value="Rejected by Reviewer"&gt;Rejected by Reviewer&lt;/option&gt;
                      &lt;option value="Approved"&gt;Approved&lt;/option&gt;
                      &lt;option value="Rejected by Approver"&gt;Rejected by Approver&lt;/option&gt;
                  &lt;/select&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
  </code></pre>
  
  <p>How do I remove the extra field containers and related field labels? Why did it behave differently on these two SP2007 environments?</p>
  
  <p>Your tips and answers are much appreciated. Thanks in advance.</p>