I am working on an Enterprise wiki site collection , now when users go to (Page Option >> Edit properties >> Edit Properties) as follow:-

enter image description here

they will find a field named "Content Type" as follow:-

enter image description here

so is there a way to remove this drop down list ?


1 Answer 1


If your list/library has multiple content types associated with it, the drop down will appear. If there are other content types that are not being used, remove them from the list and they'll go away.

Otherwise, you'll need some script or css to remove/hide it.

  • we are 100% correct my library is using the following content types ; Error Page + Enterprise Wiki Page + Redirect Page + Project Page. and i do not want to remove these content types.. so i prefer if i can remove any extra fields from the edit form using css and javascripts but not sure how i can do so ?
    – John John
    Apr 28, 2015 at 12:16
  • @PiratecEric i wrote the following script inside the Edit form to hide unwanted fields "$('#formTbl tr').filter(function () { return !$(".ms-standardheader", this).text().match(/Name|Title/i); }).remove();" and it was able to hide the extra fields i do not want ,, so my question now if writting such as script is valid approach ?
    – John John
    Apr 28, 2015 at 14:04
  • If you don't want users to have the ability to switch the content type of the item on the edit form, then yes. Apr 28, 2015 at 14:07
  • i want this to apply for the Content type drop down list and on other fields, now if i decide to hide the fields from the content type , this will cause a problem when the users want to compare the Page history for the wiki page. because the hidden fields will not be part of the comparison,, so i found using javascript the more convenient way to achieve my requirement ... and seems that when i chose to hide a field using javascript its value will not be effected..i was affraid if i hide some fields and i edit the web page the hidden fields will be empty..
    – John John
    Apr 28, 2015 at 14:43
  • 1
    don't do a .remove(), do a .hide(), removing them could cause postback or validation problems Apr 28, 2015 at 19:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.