Modify NewForm.aspx and EditForm.aspx (Add Content Editor Webpart) without using SharePoint designer

There are times when you need to add custom javascript or do some modifications to SharePoint NewForm.aspx or EditForm.aspx…You open the site in sharepoint designer and then do the changes

There is another way you could achieve the desired result without the use of designer

Let us see how

1.Navigate to the SharePoint List/Library
2.Open the NewForm or the Edit Form
3.Append the following querystring to the url

?PageView=Shared&ToolPaneView=2

e.g.
http://{yoursite}/Lists/listname/NewForm.aspx?PageView=Shared&ToolPaneView=2
http://{yoursite}/Lists/listname/EditForm.aspx?PageView=Shared&ToolPaneView=2

4. This will open the page in edit mode with web part zone and then you can add “content web part” to the page and then you are done.

6 thoughts on “Modify NewForm.aspx and EditForm.aspx (Add Content Editor Webpart) without using SharePoint designer”

Leave a Reply

Your email address will not be published. Required fields are marked *