How to custom Rating Scale field to add more range text in survey on sharepoint 2013

When we use the rating scale field to create question in survey. You can only set three range texts for each question. Is there any way to allocate a range text for each range ? Such as below :
                                 Low             Average        High       Excellent      
Important
                                 1                  2                  3    
          4                     5
I put extra 1 Rating Text Value / Excellent . but it does not show at respond to survey page.
<Field Type="GridChoice" DisplayName="rating4" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" GridStartNum="1" GridEndNum="5" GridTxtRng1="Low" GridTxtRng2="Average"
GridTxtRng3="High" GridTxtRng4="Excellent" GridNATxt="N/A" ID="{5259c17a-9260-4857-8594-f7dc28281763}" SourceID="{2712de13-4857-4225-b5bd-06697c96ad5b}" StaticName="rating4" Name="rating4"
ColName="ntext2" RowOrdinal="0"><CHOICES><CHOICE>q</CHOICE><CHOICE>g</CHOICE><CHOICE>h</CHOICE></CHOICES></Field>
<Field Type="GridChoice" DisplayName="rating4" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" GridStartNum="1" GridEndNum="5" GridTxtRng1="Low" GridTxtRng2="Average"
GridTxtRng3="High" GridTxtRng4="Excellent" GridNATxt="N/A" ID="{5259c17a-9260-4857-8594-f7dc28281763}" SourceID="{2712de13-4857-4225-b5bd-06697c96ad5b}" StaticName="rating4" Name="rating4"
ColName="ntext2" RowOrdinal="0"><CHOICES><CHOICE>q</CHOICE><CHOICE>g</CHOICE><CHOICE>h</CHOICE></CHOICES></Field> 
Thanks all your help !

Hi,
From Microsoft official site, we can find the definition of “Range Text”: enter descriptions for the low, middle, and high scale. It means there are only
three types of description which is the by design behavior. For example, if we have 8 number range, the purpose of the range text is to tell users that 8 is highest and 1 is the lowest. We don’t need to specific description for each column.
As you really want to achieve the goal, we can write client JavaScript code to dynamically update the UI on page. We use SharePoint designer updates the “NewForm.aspx”,
“DispForm.aspx”, “EditForm.aspx” and “Summary.aspx” to add custom JavaScript codes.
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>
These JavaScript codes are all added in the content tag which contentplaceholderid="PlaceHolderMain".
Hope it helps.
Xue-Mei Chang

Similar Messages

  • Issue After Rating field is added to the Discussion Board List in SharePoint 2013

    Hi ,
    We are facing issues After Rating field is added to the Discussion Board List in SharePoint 2013. We are getting below error while adding a new item or editing a new item. Please help on this.
    Ashish Kumar Baranwal

    Users which were getting issues actually getting below error:
    [COMException (0x81020014): One or more field types are not installed properly. Go to the list settings page to delete these fields.<nativehr>0x81020014</nativehr><nativestack></nativestack>]
       Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID,
    String& pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress,
    Boolean bMigration, Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) +0
       Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String&
    pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration,
    Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) +565
    [SPException: One or more field types are not installed properly. Go to the list settings page to delete these fields.]
       Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) +146
       Microsoft.SharePoint.Library.SPRequest.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String&
    pbstrGuid, Guid pbstrNewDocId, Boolean bHasNewDocId, String bstrVersion, Object& pvarAttachmentNames, Object& pvarAttachmentContents, Object& pvarProperties, Boolean bCheckOut, Boolean bCheckin, Boolean bUnRestrictedUpdateInProgress, Boolean bMigration,
    Boolean bPublish, String bstrFileName, ISP2DSafeArrayWriter pListDataValidationCallback, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback) +2336
    Ashish Kumar Baranwal

  • HT1399 my ipod says i got alot of my memory used up under other and i would like to know how to delete it so i can add more music

    My ipod says i got alot of my memory used up under other and i would like to know how to delete thid stuff so i can add more songs.

    You need to delete the music you got from your friend. You fried does not have the licence/right to give you a copy of it.
    I would restore the iPod from a backup on your computer and sync your own media to the iPod.

  • HP Pavilion 1000-1403AU - how do I open the unit to add more RAM

    Hi there
    want to open the unit to add more RAM
    how can I do that?

    @hpnotobook 
    A fellow Expert, Paul_Tikkanen, graciously provided a link to the notebook's series Maintenence & Service guide.
    It appears that there is a single screw that you need to loosen.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Show list fields side-by-side when New/Edit/View in sharepoint 2013

    It is possible to show fields in customized view for fields in a list? OOB feature show all columns one after one. But
    I want to show user customized way. like see below image
    Is possible to do in Sharepoint 2013 foundation?. Any developed feature available?
    ItsMeSri MOSS SP2, 3 WEFs, Windows 2008 R2 x64.

    Someone's developed a way to do it through JQuery - I've done it for a single list - it's time consuming to set up but works perfectly. One text file that has the table structure you want to see, then another with a small JQuery function.
    See http://www.markrackley.net/2013/08/29/easy-custom-layouts-for-default-sharepoint-forms/
    The table includes spans that reference the actual column display names - an example row:
    <tr >
    <td>
    <b>Title:</b><br>
    <span class="FMGCustomForm" data-displayName="Title"></span>
    </td>
    <td>
    <b>Issue Status:</b><br>
    <span class='FMGCustomForm" data-displayName="Issue Status"></span>
    </td>
    </tr>
    and the JQuery moves the column from the original location to the correct span. Nice and quick - even on a list with many columns.
    <style type="text/css">
    .ms-formtable
    {display:none;}
    </style>
    <script type="text/javascript">
    $(document).ready(function() {
    //loop through all the spans in the custom layout
    $("span.FMGCustomForm").each(function()
    //get the display name from the custom layout
    displayName = $(this).attr("data-displayName");
    elem = $(this);
    //find the corresponding field from the default form and move it
    //into the custom layout
    $("table.ms-formtable td").each(function(){
    if (this.innerHTML.indexOf('FieldName="'+displayName+'"') != -1){
    $(this).contents().appendTo(elem);
    </script>
    Robin

  • How can i get a full url of video uploaded in asset library on sharepoint 2013

    Hi All,
    I have videos in SharePoint 2013 Asset Library, now i want display that videos in my SharePoint webpage as a webpart.
    Now, how can i get a full url of video uploaded in asset library?
    Thanks in Advance!

    The Asset library does a pretty good job of hiding the full URL. An "asset" item is actually a folder. The folder contains the video and support files like preview thumbnails.
    So, if you upload a video named butterfly.wmv to http://yourSite/sites/demo/Assets the path to the video would be http://yourSite/sites/demo/Assets/butterfly/butterfly.wmv. If the user changed the name while uploading the file to "Pretty bugs"
    the URL would then be http://yourSite/sites/demo/Assets/Pretty%20Bugs/butterfly.wmv.
    Probably the best way to explore these hidden folders and discover the "real" URL is to use SharePoint Designer 2013.
    Launch SharePoint Designer and open your site.
    In the Navigation area click "All Files". (If you don't see All Files then your administrators may have partially locked down SPD.)
    In the list of files and folders click the Assets library.
    Find and click your video (you will see the "Name" as entered in the file's properties, not the file name.)
    Find the video file, right-click it and click Properties.
    Copy the Location.
    If you just want to display the video in the page:
    Edit the page
    Click INSERT
    Click Web Part
    From the Media and Content category select Media Web Part and click Add.
    Edit the web part (click the web part's dropdown)
    From the MEDIA ribbon click Change Media
    Click From SharePoint and navigate to your assets library and pick a video
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How to display calendar in web part with selected month(jan,feb,march) in sharepoint 2013

    Hi All,
    How to display selected Month like jan,feb,march in single page with different webparts.
    I created 3 webparts and selected(jan,feb,march) but when page refreshes all webparts are displaying current month(December).
    Here i attached the screen shot, where December should be shown as (January and February)
    Kindly check and guide me in right track.
    Thanks
    Prabhat.
    Madhu Prabhat

    Hi,                                                             
    To develop a custom web part, you can take a look at the links below with steps in detail for a start:
    Creating Web Parts for SharePoint
    http://msdn.microsoft.com/en-us/library/ee231579.aspx
    Sharepoint 2013 Create a Visual Web Part
    http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
    Another three links for your reference:
    http://www.learningsharepoint.com/2012/12/24/how-to-create-a-custom-webpart-in-sharepoint-2013/?goback=%2Egde_3911588_member_198759022#%21
    http://www.youtube.com/watch?v=9iK8IPUB87w
    http://sptechbytes.blogspot.com/2013/10/sharepoint-2013-creating-visual-webpart_26.html
    Here are some samples of custom calendar web part for your reference:
    http://www.codeproject.com/Articles/108676/SharePoint-Custom-Calendar
    http://gunnarpeipman.com/2009/01/creating-sharepoint-global-calendar/
    https://blog.metrostarsystems.com/2013/10/21/creating-a-custom-sharepoint-calendar-rollup/
    You can also do more customization by adding your own logic in it.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Add Data driven subscription option missing in sharepoint 2013

    i have a sharepoint 2013 enterprise version with sql server 2012 standard version. And i want to add Data- driven subscriptions for a document library by selecting manage subscriptions. But in the manage subscriptions Add Data- Driven subscription option
    is missing. How can i get the options. is ther any workaround if  i am using standard version.

    Hi sppanda,
    According to your description, you want to use data driven report subscription feature with SQL Server 2012 Standard.
    In Reporting Services 2012, only SQL Server 2012 Enterprise and Business Intelligence edition support the data driven feature. So it’s expected that the Add Data- Driven subscription option is missing in your environment. In your scenario, if you want to
    use data driven subscription feature, please perform edition upgrade.
    Reference:
    Reporting Services Features
    Upgrade to a Different Edition of SQL Server 2012 (Setup)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Add-spshelladmin : Cannot access the local farm - SharePoint 2013

    Hello,,
    We installed a SharePoint tool on a SharePoint 2013 server, and now the site is down.  One error is happening:
    add-spshelladmin : Cannot access the local farm. Verify that the local farm is
    properly configured, currently available, and that you have the appropriate
    permissions to access the database before trying again.
    Prior to installing this tool, the SharePoint PowerShell was working. I am running the power shell with admin rights.  The farm account is still in the local admin group, and its in the WSS_RESTRICTED_WPG_V4 group.  All commands and the site were
    working fine, until we installed the tool.
    How can I get the PowerShell Management shell working again?
    Thanks.
    Paul

    It sounds like your tool has brought down SharePoint or messed with your permissions. Restart the server and then starting at the SQL work your way through SQL connections, IIS Application Pools, IIS Sites, event logs and so on until you find a reason for
    where the farm is broken.
    Also try to identify what exactly else is and isn't working. If the entire farm is dead then complaining that PowerShell doesn't work is like complaining that your water seems to be seeping into your stateroom on the titanic and it's getting the carpet damp,
    it may be true but it's not the most significant issue...

  • How to Synchronize 2010 content database of my site (Web Application port 8080) to Sharepoint 2013 content database

    Hello,
    I am migrating Sharepoint 2010 my site content database to SharePoint 2013. First I have to create My site web application  in SharePoint 2013. How can I synchronize 2010 content database with 2013.

    Hi ghsajith,
    According to your description, my understanding is that you want to upgrade your SharePoint 2010 to SharePoint 2013.
    There is an article for your reference:
    http://blogs.msdn.com/b/alimaz/archive/2012/07/17/upgrading-from-sharepoint-2010-to-sharepoint-2013-step-by-step.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to upload a video into Asset Library programmatically using server side code in sharepoint 2013

    How to upload a video into Asset Library programmatically using server side code in sharepoint 2013

    First you need to configure your asset library with video content type and then you can use SharePoint object model to upload the video files in it...
    check this link for setting up Asset library
    http://www.c-sharpcorner.com/UploadFile/54db21/asset-library-in-sharepoint-2010/ 
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/1d64a5f7-c7db-4ae0-8b0d-d0722cacf5f2/assets-library-video-files-and-c?forum=sharepointdevelopmentprevious
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • Help with selecting complete words in text field. Add Icons to Text Field

    Hi,
         I am creating GUI for a Email program. The user can send emails, send files as attachment.
         When the user selects his files to attach I am displaying them as a string in a TextField along with there size
         The user can attach files with the help of FileChooser dialog invoked on click of a JButton
         e.g. file1.txt(5K), file2.txt(10K)
         Now whenever user wants to delete one of the files I want him to delete the entire file name with its size.
         So that I get the correct string of file names to send to the smtp server.
         Any one got clues how I can restrict the user to delete the complete name of the file.
         I think if I could make the user to select entire names, and restrict him from moving in the textfield character by character it would be possible. But not sure how to exactly achieve that
         Also I would like to display the Icon along with the file names in the TextField any ideas how it can be done.
         I get the Icon from the File dialog but don't know how to show it up in the TextField

    The safest way to handle this is using a JList. But it is possible to do this with the JTextArea. For selecting the entire file, put an action listener on the JTextArea. If someone clicks ona word, it will highlight, by using setSelectionStart(int) and setSelectionEnd(int) found in JTextComponent. Use 0, the length, and the index of the commas for the points to start and end selection. As far as the images, I know it can be done (smileys in chat messages for example) but I've never seen the code to do it. It may just override the paint method and paint in an ImageIcon at the specified location.

  • How to display a PDP, Tasks list, risks list from a specific project into SharePoint 2013 site.

    Hi,
    I customized a PWA site (PS 2013)  with SharePoint sites linked to each project plan.  Also I have a corporate portal with site collections per department.
    The question is if it is possible to use primarily the SharePoint Corporate Portal to link with  PWA web parts. For example to display in the IT Department portal a list of the projects of that department, or to display a Project Summary for
    a named project.
    Thks

    Hi Diego,
    One of the things you can try is to have an excel/reporting services webpart connecting to the project server database and displaying the relevant information. Please note the licensing implications of having the real time data displayed to 'non-project
    server' users
    Paul

  • How to implement tool-tip for the list items for the Choice column in SharePoint 2013

    I had created a simple list with a "Choice" column, i have three entries in my drop-down, 
    First Entry
    Second Entry
    Third Entry.
    If i select any entries in drop-down and hour-over (Second Entry), a
    tool-tip need need to show. 
    Is it possible? If yes how to implement any help will be appreciated.

    Hi,
    We can use JavaScript to achieve it.
    The following code for your reference:
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript">
    $(function () {
    $("select[title='Choice']").change(function(){
    Tip($(this).val());
    $("select[title='Choice']").mouseout(function(){
    UnTip();
    </script>
    Download wz_tooltip.js:
    http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to Auto Check-in .pdf Files in a Document library(after Drag & Drop) - sharepoint 2013?

    Hi,
    Once I Drag and drop the .pdf documents in a document library files get
    checked out automatically.
    I want the files to be checked-in automatically once they are dragged and Dropped.
    Please note : I am able to do the above things with .doc (world files) but not with the
    .pdf files.
    I have provided all the default values. Tried all the below options Still no success :-( 
    Require Content Approval for submitted items ?    NO
    Create a version each time you edit a file in this document library ? No visioning
    Require documents to be check out before they can be edited? No
    Anyone Come across this issue.??
    Regards, 
    Pavan.

    Hi, 
    I found the problem(Not the solution).
    I have set the default values from Column default value settings,
    the default values are getting set to the columns but the file still in checked-out mode.
    If I put the defult values to Library columns directly/Site column directly , Its working fine. - We found this work-around. 
    But still the issue Exists why its not working when I set Default values from Column default value settings
    and try to drag and drop documents. :-( 

Maybe you are looking for

  • New Hard Drive in MacBook Pro Early 2011, can't reinstall Mountain Lion.

    My computer started having issues for some reason, it would just restart randomly about every 5-30 minutes. Disk Utility said that the drive needed to be reformatted, so I went into Recovery mode and erased the Hard Drive and then tried to reinstall

  • Burning a DVD from FCP 4 anamorphic

    I'm trying to burn a DVD from my FCP 4. but even though everything is set as anamorphic, the DVD comes out all squished. I was able to burn a DVD several months ago of the same footage, for some reason i'm not able to do this. I'm really frustrated a

  • DW CS3 Site Management Problem.

    I just loaded DW CS3. Under > Edit > Preferences > Site > there is a section to always show local files on the Left or Right. I select left and the files still show on the right. I want them on the left. Any suggestions? RazorTrak

  • Mi imac va muy lento y se bloquea al apagar

    Compré un imac de 27" hacer un mes, y cada vez me va más lento. Antes entraba bien por wifi en casa pero ahora apenas tengo velocidad. Ademas, al apagarlo muchas veces se queda bloqueado. SAbéis a qué es debido? Gracias,

  • Itunes wiped everthing from my iphone, how do I get it back?

    I sync'ed my iphone to my computer & itunes account for the first time. It asked me for my apple ID password & then bagan to reset my phone. I lost all my contact, photos & music etc I bought from itunes. How do I get them back?