Friday, September 3, 2010

Editing SharePoint Surveys

Problem: Add customized numbers in the SharePoint Survey list's question field

Solution: Add question as: "surveyquestionstart 1. surveyquestionend Where's my car dude?"

So now what we want to do is add a javascript to the page that changes
surveyquestionstart -> to <span class="question">
surveyquestionend -> to </span>

Javascript can be added by the ToolPaneView=2 trick and adding a content editor web part to insert the script; or open the form directly with SharePoint Designer and add the code to the END of the contents in the main place holder.

Find the script here

Nice trick to edit the form as webpart zone: add ToolPaneView=2 to the new/edit/disp URLs.

No comments:

Post a Comment