none
SharePoint default RRS feed

  • Question

  • Is it possible to change the words "Specify your own value" within SharePoint or is this hardcoded? Please see image for clarification.

    Friday, August 23, 2019 4:50 PM

All replies

  • Here you go

    Change the setting against the choice column for Allow Fill In Value to No.


    s


    Please remember to click Mark as Answer on the answer if it helps you

    Friday, August 23, 2019 5:30 PM
  • Or programmatic ways is given below

    It can be done only programmatically.

    Try this solution (step-by-step):
    1. Open your list in browser Internet Explorer. Internet Explorer because you may receive later some unexpected errors with Script Editor web part in other browsers. If you don't have IE then use other browser but be warning that when you Insert code in Script Editor web part you can see page with error. Just close this page. Your script already successfully added to page. You can check this.
    2. If you don't see ribbon on top of page with buttons when click on area with list items and ribbon must be appeared.
    3. Click "List" tab -> "Customize List" group -> "Form Web Parts" dropdown -> click "Default New Form" (repeat current and following steps for "Default Edit Form").
    You will be redirected to page: 
    "http://<SERVER>/sites/Test/_layouts/15/start.aspx#/Lists/TestList/NewForm.aspx" or "http://<SERVER>/sites/Test1/Lists/Test2/NewForm.aspx".
    4. On opened page click link "Add a Web Part". You will see new panel at the top with web parts to choose.
    5. In block "Categories" choose "Media and Content". In block "Parts" choose "Script Editor". Click button "Add".
    6. You will see that on page "Script Editor" web part added. Click link EDIT SNIPPET.
    7. In opened modal dialog paste following code:

    <script type="text/javascript">
    function changeFillInLabels() {
        document.querySelectorAll('[for$="FillInButton"]').forEach(function(el){
            el.innerHTML = el.innerHTML.replace("Specify your own value:", "Other");
        });
    }
    ExecuteOrDelayUntilBodyLoaded(changeFillInLabels);
    </script>
    1. Click Insert button.
    2. In ribbon on page top click button "Stop Editing".
      You will be redirected to list defult view page.

    Now you can create new list item and you will see that text "Specify your own value:" changed on "Other" on New Form.
    Repeat 3-9 steps for "Default Edit Form".


    Please remember to click Mark as Answer on the answer if it helps you

    Friday, August 23, 2019 5:30 PM
  • Hi Datadummy,

    Insert a Content Editor web part in your newform.aspx or editform.aspx, then paste the JavaScript code below in it:

    <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    
    $(document).ready(function(){
    
    $("label[for='choice_624cf0b1-834c-492b-9b21-315e267d5ae7_FillInButton']").text("your custom text");
    
    });
    
    </script>


    Change the ‘choice_624cf0b1-834c-492b-9b21-315e267d5ae7_FillInButton'’ to your Lable "for" property. You can get the property with IE F12 Developer Tools.

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, August 26, 2019 2:22 AM
  • Hi Datadummy,

    I’m checking how the things are going on about this thread. Whether the post helps you?

    You can mark the post as answer if it helps.

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, September 2, 2019 1:41 AM