SharePoint 2007 Survey Custom List Forms

Creating custom list forms in Sharepoint 2007 is relatively straightforward, but it doesn’t appear to work for Surveys.

A custom form for a Survey can be created easily, but can’t be associated with the survey. For example, NewForm.aspx may not have the functionality you need so you create NewForm2.aspx and try to associate it using the Survey Properties Supporting Files.

But there’s a catch…if you right click on the Survey name, go to Properties > Supporting Files, it looks like you can Browse a New Item form (let’s say NewForm2.aspx) and click OK. However, when you right click Properties again to check, it’s reverted to the original NewForm.aspx. Anything other than the original forms won’t apply and it only appears to only be for Surveys.

MOSS 2007 Survey - Change Supporting Files

I wanted to redirect to a different page after the survey was submitted, so I hid the original ListForm WebPart and added a custom list form.

Using SharePoint Designer Copy, Paste and Rename original NewForm.aspx and keep it in a safe place. Open NewForm.aspx in design view and right click the ListFormWebPart and select Web Part Properties. Expand Layout and tick Hidden and hit OK.

MOSS 2007 Survey - Custom List Form

Make sure you are off the original WebPart. I used arrow left to get in front of everything. Insert the a custom list form by going to Insert –> SharePoint Controls –> Custom List Form. Select your Survey from the List or Document Library to use for form. Hit OK to insert.

MOSS 2007 Survey - Hide Web Part

The custom list form makes it easier to edit the layout as well. Not really a solution but a workaround.

Leave a Comment

Your email address will not be published.