SharePoint: Customizing DispForm.aspx and EditForm.aspx through browser

DispForm.aspx that displays detail view of list item and EditForm.aspx that displays edit view of list item are not customizable by default. You can move to these pages but there is no Edit option in Site Actions menu. But it still possible to customize these pages, add new web parts there and so on. All you need is your web browser.

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

3 Comments

  • suppose there are 5 field in Task List. In Edit option I want to show only one field. Lets say only Approve/Reject checkbox.
    How to hide the these fiedls in editform.aspx?

  • I am also looking for same kind of information as Rajesh is asking. Please let me know if you find any solution.

    Thanks

  • @Ankit,
    To hide or do any kind of further customization you need to add a content editor webpart in the EditForm.aspx page and write javascript or Jquery to hide all the fields. For example to hide a field called Name write below,

    $("input[title='Name']").parent().parent().parent().hide();

    troubleshoot a bit with the number of parent tag you need if it doesn't work in forst shot.

    Happy Scripting !

Comments have been disabled for this content.