SIGN UP MEMBER LOGIN:    
ARTICLE

Sharepoint List Customization

Posted by Arkaprovo Basak Articles | SharePoint December 15, 2010
In this article I am showing how to customize SharePoint default Survey look & feel and how to add heading in survey (for a section) using Microsoft Office SharePoint Designer for Microsoft Office SharePoint 2007.
Reader Level:


In this article I am showing how to customize SharePoint default Survey look & feel and how to add heading in survey (for a section) using Microsoft Office SharePoint Designer for Microsoft Office SharePoint 2007.

Step-by-Step Guide:

1. Create a survey in SharePoint. I created a sample Travel Survey. I will show you how to change the fields in two columns and add a heading.

sharepoint1.gif

2. Open your site in share point designer. Before starting the customization you have to check out the NewForm.aspx of the corresponding list.

sharepoint2.gif

3. After Check out, double click on NewForm.aspx form. It will open NewForm.aspx. After that click on the web part. It will select the web part as shown below.

sharepoint3.gif

4. Then you have to hide this web part. For that right click on the web part, then select List Form Properties.

sharepoint4.gif

5. Expand Layout section. Then click Hidden and click ok. It will hide the web part.

sharepoint5.gif

6. Then you have to add a web part. For that select SharePoint Controls from Insert. Then select web part. It will add a new Web part.

sharepoint6.gif

7. After adding Web part, go to Insert then SharePoint Controls and select Custom List Form from the menu.

sharepoint7.gif

8. You will get a pop up. You have to choose corresponding Survey list name from the drop down in "List or Document library to use for form". You have to select the same Survey list name from the second drop down (Content Type to use for them). Then select ok.

sharepoint8.gif

9. Now you are ready to customize and to change the look and feel of your survey list. First select the new web part.

To add a heading (or level) you can add the code as below.

sharepoint9.gif

10. You can now select any column or row as you wish. Here I want to put User name and Date of Birth in the same row, so I delete the Second row starting and first row closing (</tr> <tr>) to put the two in one row in code views. Also I want to add some more heading.

sharepoint10.gif

You can now select any column or row as you wish and do the customization.

11. After the customization is done save the NewForm.aspx and after saving check in the NewForm.aspx.

12. Now refresh the SharePoint site. Now when you click "respond to this Survey" you will get your modified, customized SharePoint Survey.

sharepoint11.gif

This type of customization is useful if the survey contains a large number of fields and you want to group some survey questions in a section.
  

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Team Foundation Server Hosting
Become a Sponsor