Add new rating scale text filed in SharePoint 2010 Survey List???

Would it be possible to add extra text range field in SharePoint survey Rating Scale filed? so far i know it could be achieved by using Client Java script.  i have added following script in NewForm.aspx, EditForm.aspx, DispForm.aspx and Summary.aspx
but nothing its reflecting into the UI page. Another problem is if i have multiple Questions with rating scale field, how i am gonna achieve extra text range for each question in one page/separator page like the following way?
VeryDissatisfied          Dissatisfied     not satisfied    Satisfied    Very Satisfied   Do not participate
        1                           2                      3                
4                   5                     6
These JavaScript codes are all added in the content tag which contentplaceholderid="PlaceHolderMain". should i add this script to another location?
For NewForm.aspx; DispForm.aspx; EditForm.aspx
<script type="text/javascript">
var tables = document.getElementsByTagName('table');
for (var i=0; i<tables.length; i++)
if (tables[i].summary == 'Rating Scale Question')
var trs = tables[i].getElementsByTagName('tr'); 
var tds = trs[0].getElementsByTagName('td'); 
tds[2].colSpan = 1;
tds[2].innerHTML = 'your range text';
tds[3].colSpan = 1;
tds[3].innerHTML = your range text';
tds[4].colSpan = 1;
tds[4].innerHTML = your range text';
tds[5].colSpan = 1;
tds[5].innerHTML = your range text'; 
</script>
For Summary.aspx
<script type="text/javascript">
var tables = document.getElementsByTagName('table');
for (var i=0; i<tables.length; i++)
if (tables[i].className == 'ms-surveyVBarT')
tables[i].deleteRow(0);
var row = tables[i].insertRow(0);
var cell0 = row.insertCell(0);
var cell1 = row.insertCell(1);
var cell2 = row.insertCell(2);
var cell3 = row.insertCell(3);
cell0.innerHTML = your range text';
cell1.innerHTML = your range text';
cell2.innerHTML = your range text';
cell3.innerHTML = your range text';
</script>
Thanks in advanced!

Hi,
According to your post, my understanding is that you wanted to Add new rating scale title fields in SharePoint Survey.
I have done a test, it works fine. I have just added the function to load the code, refer to the following:
For NewForm.aspx; DispForm.aspx; EditForm.aspx
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("ChangeTitle");
function ChangeTitle() {
var tables = document.getElementsByTagName('table');
for (var i = 0; i < tables.length; i++) {
if (tables[i].summary == 'Rating Scale Question') {
var trs = tables[i].getElementsByTagName('tr');
var tds = trs[0].getElementsByTagName('td');
tds[2].colSpan = 1;
tds[2].innerHTML = 'your range text';
tds[3].colSpan = 1;
tds[3].innerHTML = 'your range text';
tds[4].colSpan = 1;
tds[4].innerHTML = 'your range text';
tds[5].colSpan = 1;
tds[5].innerHTML = 'your range text';
</script>
For Summary.aspx
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("ChangeTitle");
function ChangeTitle() {
var tables = document.getElementsByTagName('table');
for (var i=0; i<tables.length; i++)
if (tables[i].summary == 'Rating Scale Question')
var trs = tables[i].getElementsByTagName('tr');
var tds = trs[0].getElementsByTagName('td');
tds[2].colSpan = 1;
tds[2].innerHTML = 'your range text';
tds[3].colSpan = 1;
tds[3].innerHTML = your range text';
tds[4].colSpan = 1;
tds[4].innerHTML = your range text';
tds[5].colSpan = 1;
tds[5].innerHTML = your range text';
< /script>
For Summary.aspx
< script type="text/javascript">
var tables = document.getElementsByTagName('table');
for (var i=0; i<tables.length; i++)
if (tables[i].className == 'ms-surveyVBarT')
tables[i].deleteRow(0);
var row = tables[i].insertRow(0);
var cell0 = row.insertCell(0);
var cell1 = row.insertCell(1);
var cell2 = row.insertCell(2);
var cell3 = row.insertCell(3);
cell0.innerHTML = your range text';
cell1.innerHTML = your range text';
cell2.innerHTML = your range text';
cell3.innerHTML = your range text';
</script>
Best Regards,
Lisa Chen

Similar Messages

  • How to define a new Rating Scale Lookup Type?

    Hi
    I want to define a new Rating Scale with Type 'Achievement' in the rating scales. But the Application Utilities Lookup RATING_SCALE_TYPE's Access-Level is System. So I can't add a new type. Is it possible to add a new Type?
    Regards
    Rahman

    I do not think that is possible because the total value of the items must equal the value at header.
    You can maybe add an extra text item for these costs if you do not want them added to the other items.

  • Rich text toolbar missing on a survey list in Sharepoint 2010

    Hi , 
    I created a Survey list in SP 2010 and added a 'Content Editor' webpart to it. The problem is that there is
    no Ribbon available in the Survey List in SP 2010. (While it is available in the a normal list) Why? Is it the default functionality of Sharepoint 2010?
    How can I add a rich text toolbar so that while editing the content webpart I can format the text. Is it possible?

    Hi Yasir,
    This behavior is by design. When you add a content editor web part on survey list page, you can only add the plain text.
    Have a try to add a rich text control
     InputFormTextBox to the overview.aspx page in SharePoint Designer, add the following code to code behind.
    <SharePoint:InputFormTextBoxRows="10"MaxLength="1000"id="txtMyRichTextBox"runat="server"RichText="true"RichTextMode="FullHtml"TextMode="MultiLine"
    Height="400px"Width="250px"></SharePoint:InputFormTextBox>
    For more information, see
    http://blog.mastykarz.nl/rich-text-editor-control-sharepoint-2010/
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Multiple SharePoint 2010 Survey Questions

    Hi All
    Apologies if this has been answered and solved somewhere else, but I have probably spent 4 days looking through the web for answers.
    We have a SharePoint survey with multiple page breaks and branching. Here are the issues we need solutions for, please let me know if I need to add them as separate questions:
    We need to change the "Specify your own value:" field to say "Other:" instead. I've read and tried the article from iedaddy
    http://iedaddy.com/2012/05/sharepoint-2010-change-survey-option-specify-your-own-value-to-other/ multiple times, but I'm having no luck in getting it to work.
    We also need to limit the number of checkboxes that can be selected to 3 in a multiple answers can be selected section. I've read the article on doing this
    http://stackoverflow.com/questions/2770077/using-javascript-to-limit-survey-choices-to-three-unique-values but that doesn't work and looks like it might only be for 2007, even though some of the commenters said it worked on 2010.
    Then we need to be able to export an individual's response to either a PDF or word format or be able to print it straight from the page. When right clicking and printing on the page it has the sides cut off. Someone suggested removing the "nowrap"
    tag, but I'm unsure that will solve it and I'm not sure how to do that in SPD.
    I also need to redirect the user to a "Thank you" page once they click finish. I've found a solution that works for a one pager, but since we use page breaks, this does not work.
    I have access to SDP and limited knowledge of coding, but am willing to try.
    Please accept my apologies if there are solutions for these, but I have not been able to locate any that worked for me on the web.
    Thank you!

    Hi, for your first problem I faced it sometime back and though not the sturdiest solution, it did function for me since I did not have very many "Specify your own values" to change.
    http://social.msdn.microsoft.com/Forums/office/en-US/9349cde4-1ab6-40b3-b572-a7ddea748d8f/sharepoint-2010-survey-add-additional-text-boxes-beside-choicescheckboxes?forum=sharepointcustomizationprevious#4fdcdd7f-0443-4a98-b9d8-8527fad05d59
    Looking at your other requirements, I am reminded of my own when I started off with the OOTB SharePoint survey and realized that it is very cumbersome to customize it because it will need you to meddle with the MasterPage and you don't want to take a risk
    in Prod environment. I would suggest you to look into other options like InfoPath. InfoPath gives you a much easier platform to design and customize surveys. Page breaks are very easy to design. You can also implement your own code for PDF and publish it as
    an admin template. I can promise you that the surveys come out much prettier.

  • Sharepoint 2010 foundation list open(export) to Access button disable?

    1. Why In sharepoint 2010 foundation list "Open with Access" button is disabled?
    2. Some PCs don't even able to see the "Open with Access" button in datasheet view?

    It is a external list
    Please firstly make sure you have installed Assess 2010 properly.
    And please check if the issue occured in all lists or just one list.
    Click File menu after you open the Access, you will see Open. There will open a windows, in the file type dropdownlist(the default value is "All Files(*.*)"), you can select "Microsoft SharePoint Foundation"
    http://community.office365.com/en-us/f/154/t/201186.aspx
    . Check if the add-on has been enabled by clicking
    Internet Options of IE, then selecting Programs > Manage add-ons. Here’s the screenshot for your reference.
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010general.aspx?ID=9afe0617-3dc0-49d2-919f-659bf80fde38
    The problem stems from having done a custom installation of Office Professional Plus 2010 and only installing Access.
    If you are doing a custom installation, you must expand Office Tools and Microsoft SharePoint Foundation Support. Under Microsoft SharePoint Foundation Support, there is another Microsoft SharePoint Foundation Support. Set this to Run from My Computer,
    and the Open with Access button will work.
    If this helped you resolve your issue, please mark it Answered

  • Connect Outlook 2013 to Sharepoint 2010 External List fails

    Clicking Connect to Outlook in a SharePoint 2010 external list (ECT) produces the following message:
    "The Microsoft Common Language Runtime 3.5 is not installed on this computer."
    The client is Office 2013 Pro Plus 32-bit on Windows 8.1 64-bit with a standard installation including BCS. .Net 3.5 has been installed from Turn Windows features on or off.
    On Windows 7 and Outlook 2013, clicking Connect to Outlook results in the usual running of the .vsto, but nothing happens in Outlook (SharePoint External Lists does not appear). Outlook 2010 on Windows 7 works correctly. Connecting to a standard SharePoint
    contact list from Outlook 2013/Windows 8.1 works as well. Offline Synchronization for External Lists is enabled for the farm and the site.

    Hi Canadian,
    To synchronize external data with Office products, you must have Windows 7 or later and the following free software products: SQL Server Compact 4.0, .NET Framework 4, and WCF Data Services 5.0 for OData V3 on each client computer (If necessary, you are
    automatically prompted to download the software).
    Please also make sure that you select Contact, Task, Appointment or Post as the Office Item Type for the external content type and Offline Sync for external list is set to Yes when you creating the external content type.
    More references:
    https://support.office.com/en-us/article/Connect-an-external-list-to-Outlook-9f00540e-a6b8-4510-9ce1-c79e31cbc8c9?ui=en-US&rs=en-US&ad=US
    http://msdn.microsoft.com/en-us/library/office/ee557357(v=office.14).aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Cannot "Add new Item" in my SharePoint 2010 custom lists

    Hi guys,
                All these days it was working fine and all of sudden now when i click on "Add new item" in the the custom lists which i have created in my SharePoint 2010 and fill in the fields and click "save",
    I am getting an exception...:( 
    Please HELP!!!
    Neo Alpha

    One more thread for the same issue
    http://social.msdn.microsoft.com/Forums/en-US/51f37f3b-18a3-4d6b-b90f-2a4240306bf8/when-update-a-folders-property-it-throw-a-comexception-0x81020089
    hope this will help you
    Senthilrajan Kaliyaperumal

  • Using arrow keys to add new columns to text frames

    Is dragging a text box or the mouse as you push the arrow keys to add new columns or rows, specific to CS5? Does this only work for MAC or is it also good for PC?

    CS5 or CS5.5, either platform.

  • Unable to create a new folder in document library of SharePoint 2010

    Hi There,
    Need some help regarding an issue which is occurring after migration from SP 2007 to 2010.
    We have recently migrated a site to SP 2010, after migration whenever i tried to create a new folder in a document library it gives me an error message below
    SPException: Can not find the form to create default data for the list
        Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag (UInt32 TagId, ULSCat traceCategory, resourceId String, Object [] resourceArgs) 28098007 
        Microsoft.SharePoint.ApplicationPages.ListFormRedirect.InitializeQueryStringMembers () 1764 
        Microsoft.SharePoint.ApplicationPages.ListFormRedirect.OnLoad (EventArgs e) +25 
        System.Web.UI.Control.LoadRecursive () 66 
        System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 2428
    All the document libraries which are created with the custom list template has this problem. 
    Moreover, I have verified and found Upload.aspx page is available in Forms folder of a document library. 
    Can someone help me in resolving this issue.
    Thank you in advance.
    Vikram
    vikram padigala

    Hi,
    All the document libraries which are created with the custom list template has this problem. 
    Did you mean you had a custom library template?
    Did the issue occur in the library which created use the out of the box template, such as use the Document Library template?
    You can check with the OOB template library to test whether they had the same issue.
    If the OOB template library works well, the issue may be related to the custom library template.
    You can try to recreate a new custom template to check whether it works.
    To quickly and accurately find the issue , you can also check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Add new fields to selection screen for standard billing dule list in CRM

    Hi ,
    I have one issue with standard  program ,tcode is /BEA/IPMI01.
    SUB: Adding  few new fields like IP  to selection screen AND few fields to output list.
    As this is a standard program (tcode: /bea/ipmi01) , i searched for BADI,EXITS but couldn't .
    Can any one help me how to handle this with out cloning the standard one.
    I got some information but succeed.
    in SPRO.
    /CRM/BILLING/SYSTEM ENHANCMENTS/access billing  engine navigator. you will find selection design in the path
    /CRMB/OBJECT/DL/REPORT/SELECTION GROPS/DLA/SELECTION FEIDLS.
    we can find selecton at this place but i couldnot find how to add new fieds.
    Note: i found whatever we do ,  it willl reflect once we regenerated the program.

    Hi,
    You may be able to create an append structure to the standard output structure/table. Go to SE11, open the structure and click on append structure.
    Regards
    Prasenjit

  • Get the Sharepoint 2010 Maximum List ID

    Hi Everyone,
    I am facing one issue, in sharepoint 2010 list.
    I have 10 SP List I want the maximum number (ID) of every List
    For Example:- If any user make an entry in List A and it's ID is 10
    If another User make an entry in List B then it's ID Should be 11.
    Regards Sourabh Soni

    Hi,
    Besides the workflow way provided by Romeo, an alternative I can provide is that, you can also use
    Event Receiver with SharePoint Object Model which can help to implement more complex requirements.
    With Event Receiver, we can catch the moment when an item is added to a list which can help to run our custom code in the right timing.
    Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    More information on Event Receiver for your reference:
    http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
    SharePoint Object Model will be helpful when we need to access SharePoint objects:
    SharePoint Object Model -
    SPListItem class
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx 
    Add, Update and Delete List Items Programmatically in SharePoint
    http://www.mindfiresolutions.com/Add-Update-and-Delete-List-Items-Programmatically-in-Sharepoint-372.php 
    More information about
    SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • SharePoint 2010 Survey Branching....multiple

    I am developing a SharePoint Survey that contains 10 questions.
    The fifth question can have 5 possible choices to select......based upon the users selection, it will then "branch" to another question.....the problem is for that question the user will choose from a list of about 700 possible selections. After
    that selection, the survey is complete.
    Is there any easy way to end the Survey after that last selection?
    Here is an example: Q1...WHAT GROUP ARE YOU IN? CHOICES: A /B/C/D/E  
    based upon their selection, they will be taken to another question in which they will have hundreds of possible selections: Q2 - Q6...WHAT IS YOUR ID #?......CHOICES: 1,2,3,4.......698, 699, 700     (if they choose A....they have a pool
    of 700 possible choices, if they choose B, they have a choice of another pool of 700 possible choices.....and so on....)
    After answering that question I want the survey to end.....which I would accomplish by having a final YES/NO question.....the problem is that I seem to have to select that "branching" for the 1,000+ middle question answers. That's alot of "drop-downs"
    to select.
    If there any easy / quick way to do this?

    The choice of 700, is that a Choice list (dropdown)? After picking one of those are they branched to 700 different questions?
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • SharePoint 2010 survey: Add additional text boxes beside choices/checkboxes?

    I have a survey question which requires the user to list certain items beside each choice provided by the question.
    For eg:
    What are your favorite things? List names against each category
    Name [Textbox]
    Place  [Textbox]
    Animal [Textbox]
    Color [Textbox]
    And the answer would look something like:
    Name [Wee, Woo, Mee, Moo]
    Place  [LA, Paris, Bombay]
    Animal [Cat, dog]
    Color [White,Black]
    If anyone has any ideas to implement this or guide me to a related article or literature, that would be great!
    Any help appreciated. Thanks 

    Hi Ritesh,
    Try utilizing IE developer toolbar/ Firebug to locate the ID of the element "Specify your own value". Mine was something like this: ctl00_m_g_2c113611_bc41_4c82_94e9_a6e253aa8444_ctl00_ctl01_ctl01_ctl00_ctl00_ctl04_ctl00_ctl01
    Then go to the NewForm.aspx or EditForm.aspx of your list , insert a CEWP below the ListFormwebPart. In the <content></content> tag of your CEWP add the following script:
    <![CDATA[<script src="Fullpath/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    $("label[for='ctl00_m_g_2c113611_bc41_4c82_94e9_a6e253aa8444_ctl00_ctl01_ctl01_ctl00_ctl00_ctl04_ctl00_ctl01']").text("Please describe");
    </script>&nbsp;]]>
    Save and done!
    As I mentioned this is not the best way since you have to add multiple label ID's corresponding to every "Specify your own value" label that you want to change....

  • Outlook 2013 - How to extend/add new meeting in recurrent meeting inside SharePoint site ?

    I have created a recurrence meeting but now it is exired, how to extend ? Please advise

    Hi,
    Please check the link below
    https://support.office.com/en-us/article/Create-link-to-or-update-Meeting-Workspaces-98834566-4750-45e9-bb71-fe4acb26f170?ui=en-US&rs=en-US&ad=US#BM2
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/01054bef-1cb0-4401-88c9-e4593ab4b806/how-to-extend-date-in-recurring-meeting-workspace-in-sharepoint-site?forum=sharepointgenerallegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • A New Year, a New Challenge! Become the FIRST SharePoint 2010 Guru of 2015!

    Happy New Year!
    "Guru 2014" is so 'last year'!
    The real glory is to be the first Guru of 2015! :D
    The birth of a new year, and a new hero?
    Or the stamp of authority from long established Guru leaders?
    The challenge is on, all eyes are watching, anyone could win this month.
    The prize? Glory! Honor! Virtual medals! Unashamed love and worship from those within the community and those bloging about it (article spotlights,
    weekly awards).
    Published interviews and the chance to climb the TechNet social ladder. Become a true TNWiki Ninja and
    advance through to black belt... and beyond!
    All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something
    you had to solve for your own day's work today.
    Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!
    This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!
    HOW TO WIN
    1) Please copy over your Microsoft technical solutions and revelations to
    TechNet Wiki.
    2) Add a link to it on
    THIS WIKI COMPETITION PAGE (so we know you've contributed)
    3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.
    If you win, we will sing your praises in blogs and forums, similar to the
    weekly contributor awards. Once "on our radar" and making your mark, you will probably be
    interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!
    Winning this award in your favoured technology will help us learn the active members in each community.
    Feel free to ask any questions below.
    More about TechNet Guru Awards
    Thanks in advance!
    Pete Laker
    #PEJL
    Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
    TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
    you could win weekly awards!
    Have you got what it takes o become this month's
    TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!

    Is this program initiated by Microsoft or ....?
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/
    Yes. It's co-run by Microsoft and the TechNet Wiki Community Council, which includes amazing Partners and collaborators like XAML guy.
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • Doubt in Report painter

    Hi ABAP Gurus, Still now I worked on ABAP Reports, Today I got new requirement on Report painter. Actually in 4.7 this Report Painter is Developed with one report group under this two reports. Now my reqiremnet is I need to copy these reports from 4.

  • Why do I get "Internal Error (-5002) occurred" when doing external recon via SDK ?

    I can reconcile an invoice and matching incoming payment as below: Table OJDT is: BatchNum TransId BtfStatus TransType BaseRef RefDate Memo Ref1 Ref2 CreatedBy LocTotal FcTotal SysTotal TransCode OrignCurr TransRate BtfLine TransCurr Project DueDate

  • DVD's from my DVD/VHS Recorder are not sharp/ Why?

    Hello! I have a 2GHz Intel Core 2 Duo iMac that works perfectly. What I want to know is why my DVD-R's made on my DVD/VHS Recorder look grainy with low sound on my iMac but look great on any regular DVD player and television. Does anybody know why th

  • Regarding BPM Data Type "Any"

    Hi, We use to capture the value of "Others" exceptions in an instance variable "exceptionHolder" of type "Any". Can anyone suggest how can we retrieve the contents of this instance variable(exceptionHolder) in a "String" instance variable. Thanks, Ab

  • Exporting specific states?

    Is there a way to export only specific states? Maybe I want to export state #4 as a .gif without the others? Thanks.