I am trying to hide the Title field so it does not appear in add/edit forms. I am using web templates. The title is hidden in the sitecollection but not in any of its sub sites.
Below is my code.
SPFieldText fieldTitle = (SPFieldText)(newList.Fields[SPBuiltInFieldId.Title]);
fieldTitle.Hidden = true;
Please remember this worked fine in the sitecollection but not in the subsite created.