Featured

Using Tutor.css

The extension .css denotes cascading style sheets. They define the font, color, style, and overall look of an HTML document and tell the browser how the document should be presented. tutor.css...
+ Full Article

More Featured Articles

Most Read

Most Read

Setting up Team Discussion Board

SharePoint 2007 has a Team Discussion Board that is used to initiate discussion and get replies on topics of interest. This article outlines the steps required to setup a discussion board, managing...
+ Full Article

More Popular Articles

Recent Articles

Recent Articles

Repeating Excel Header Rows

If your worksheet has several pages, it will be useful to have the header row repeat in all the pages. This will improve productivity as the user need not flip to the first page to view the header...
+ Full Article

More Recent Articles
Create a custom New Item or Edit Form PDF Print
User Rating: / 2
PoorBest 
Web - Sharepoint 2007

One of the intriguing aspects of the NewForm.aspx or EditForm.aspx in Sharepoint 2007 is that the fields are not displayed and hence not editable. For instance, you may wish to selectively hide certain columns either in a New Item form or Edit form. This article outlines the steps required to accomplish this as well as the limitations that arise out of such modification. Sharepoint Designer is required for this.

 

  • Open the List that you wish to modify using SP Designer
  • Select File > New > Create from Master Page from the SP Designer menu
  • This creates a new master page in SP Designer - Switch to 'Split' view
  • Click in the 'Design' mode - You can see two Placeholder rows get displayed.
  • Click on the arrow to the right in either of the rows and select 'Create Custom Content'
  • Now place the cursor in that row and select Insert > Sharepoint Controls > Custom List Form from the menu
  • This displays 'List or document library to use for form' window
  • Select the 'List' for which you wish to create the custom form and the 'Content type to use for the form' (select item for this field)
  • Select the appropriate 'Type of form to create' (New, Edit, or Display)
  • To display the standard toolbar select that check box
  •  Click 'OK' to create - this creates a new custom form.
  • Save the new form as NewForm1.aspx

 

Note that all the fields are displayed in SP Designer now! - now you can also selectively hide columns in either the new or edit form to meet your requirements.

 

Associating the NewForm1.aspx to the list

  • In SP Designer select the list to which you wish to associate the new form - this can be seen from the 'Folder List' that is displayed on the left Navigation
  • Right-click on the folder and select 'Properties'
  • Open 'Supporting Files' tabbed region
  • Click the 'Browse' button for either the New item or Edit item to which you wish to associate the new custom form
  • Select the new custom form created and click 'Apply' and click 'OK'

Known Issue(s)

Attachment function does not work when a custom form is used. When the 'Attach File' icon is clicked, you get a message 'The form was customized not working with attachment'

 

Resolution

 

Refer to the following Microsoft article for a possible resolution to the above issue.

Trackback(0)
Comments (0)add
Write comment

security image
Write the displayed characters


busy
Last Updated on Sunday, 23 November 2008 14:08
 

now browsing!

We have 29 guests online

Sharepoint

Sharepoint Row Highlight using Behaviors

If you have a long list of items in a Sharepoint list, you may find it convenient to highlight the current row the cursor is on. While there are couple of ways of accomplishing this, this article...
+ Full Article

More on Sharepoint

Windows

Changing Windows Prompt

One can interact with the Operating System either from a graphical interface or from the Command Prompt. From the Command Prompt you enter commands by supplying the required arguments. On Windows...
+ Full Article

More on Windows
 

Sedo - Buy and Sell Domain Names and Websites project info: referpages.com Statistics for project referpages.com etracker® web controlling instead of log file analysis