Geeks With Blogs

News invisible hit counter View My Stats
Technical Speaking

How to customize the EditForm.aspx when you Edit a list item in a SharePoint 2007 list (EditForm.aspx).

 


When you want to enter a edit item into, let’s say, your Issue Tracker list, SharePoint calls upon the EditForm.aspx page for that list. The page contains a customized List Form Web Part that displays default columns associated with the Issue Tracker list properties. The Edit Item form cannot be edited within the browser, so in order for us to accomplish this we have to use SharePoint Designer 2007 tool. Here is the following link that i found how to do it. The blogger explain it for NewForm.aspx in very organized way. In case of EditForm.aspx is the same.

http://sharepoint07.wordpress.com/2008/02/05/customize-the-newformaspx/

Do the following steps to create and customize new edit form:

1. Open your site in SharePoint Designer.
2. Browse to your list and open the 'EditForm.aspx' web form.
3. Go File > Save As... and give the form a new name such as 'EditForm2.aspx'.
4. Delete the default List Form Web Part from the page.
5. Go Insert > SharePoint Controls > Custom List Form.
6. In the List or Document Library Form dialog, select the appropriate list, content type and type of form.
7. Click OK and a new Data Form Web Part is added with controls representing all the fields from the list (in my environment all the controls show "Error Rendering Control" but this does not affect the final result).
8. In the newly added Data Form Web Part, delete the rows containing fields not to be shown / hide to the user (ensure that fields being removed are not required fields without default values as this would prevent the user from submitting the form).
9. At this point, you can do other customization such as rearranging the fields if you wish.
10. Save the site

Posted on Tuesday, October 28, 2008 11:26 PM | Back to top


Comments on this post: Sharepoint: How to do Custom List Edit Form

# re: Sharepoint: How to do Custom List Edit Form
Requesting Gravatar...
Hi MJ Ferdous!

For you experience in SharePoint I'd like to ask you some question. I need to do a custom list when a counter hits but I really have problems because I dont have access to the server. All I have is SharePoint Designer and normal SharePoint with a full control access. Mi question is Could I create a custom list with a counter that changed when a user enter in a page only using the resources that I have? And how can I do it? I have researched a lot and have not found a solution yet.

I really appreciate your help.

Best regards,
Melissa AC
Left by Melissa on Feb 11, 2013 10:48 AM

# re: Sharepoint: How to do Custom List Edit Form
Requesting Gravatar...
You are trying to build a Hit counter for your SharePoint site. Here is the steps to do:
1) Create Custom List where you will keep Page access log
2) Create Web part where you will write the code inside override Render() Method to count each counter and Page access URL and insert in the Custom List
3) Place it in Master page using SharePoint Designer

Hope this will help you.
Thanks.
Left by MJ Ferdous on Feb 13, 2013 12:01 PM

# re: Sharepoint: How to do Custom List Edit Form
Requesting Gravatar...
How do you asociate the new form with the list?
Left by Alan B on Nov 14, 2013 8:11 PM

# re: Sharepoint: How to do Custom List Edit Form
Requesting Gravatar...
Good ideas very helpful. I was able to fill out a form online yesterday (http://goo.gl/sLOM99) you might want to try. It was easy and it works for me.
Left by Jill on Jul 17, 2014 8:44 AM

Your comment:
 (will show your gravatar)


Copyright © MJ Ferdous | Powered by: GeeksWithBlogs.net