title: Hiding Title FIeld in Sharepoint not working
body: <p>I am trying to do the following to hide the title field from the new and edit form but its still visible.</p>
  
  <p>pls help</p>
  
  <pre><code> /// &lt;summary&gt;
          /// Adds source list and content type.
          /// &lt;/summary&gt;
          /// &lt;param name="currentWeb"&gt;&lt;/param&gt;
          private void AddSourcesList(SPWeb currentWeb)
          {
              currentWeb.AllowUnsafeUpdates = true;
  
              #region Add Source content type.
              if(currentWeb.ContentTypes[SponsoringCommon.Constants.CONTENTTYPES_SOURCES_NAME] == null)
              {
                  #region Hides title column
                      currentWeb.Lists.Add(SponsoringCommon.Constants.LISTNAMES_SOURCES_NAME, string.Empty, SPListTemplateType.GenericList);
                      SPList sourceList = currentWeb.Lists.TryGetList(SponsoringCommon.Constants.LISTNAMES_SOURCES_NAME);
                      SPField titleField = sourceList.Fields.GetField("Title");
                      titleField.Required = false;                    
                      titleField.ShowInEditForm = false;
                      titleField.ShowInDisplayForm = false;
                      titleField.ShowInNewForm = false;
                      titleField.Hidden = true;
                      titleField.Update(); 
                  #endregion 
  </code></pre>