locked
How to change "Specify your own value:" to Others in Custom List Form Sharepoint 2007 RRS feed

  • Question

  • How to change "Specify your own value:" to Others in Custom List Form Sharepoint 2007
    Navin Pokhrel
    Thursday, July 7, 2011 8:56 PM

Answers

  • If you created a Custom List Form in SPD you can edit the form directly in SPD to modify the text of "Specify your own value" to whatever you want.

    I was assuming you were trying to remove it from the default forms.  

     

    Good luck,

    Mark


    The SharePoint Hillbilly
    Fewer Big Words... More Pretty Pictures... http://www.SharePointHillbilly.com
    • Marked as answer by NAPSTER123 Thursday, July 14, 2011 8:00 PM
    Tuesday, July 12, 2011 2:20 PM

All replies

  • This can be done fairly easily with jQuery.  The quick steps without having to involve SPD to edit the page are:

     

    1) get the page in edit mode by appending &ToolPaneView=2 to the end of the URL

    2) insert a content editor web part

    3) Insert the jQuery as the source (or a better practice is to put your jQuery in a text file stored in a document library and link to it in the CEWP).

    4) Set the CEWP to hidden or chrome type to none so that it doesn't appear on the page.

    The following script will find every instance of "Specify your own value" and replace it with the text "Others" if you drop it in your CEWP.  

    *note* I am referencing the jQuery library externally in this script, I highly recommend you download a local copy to a doc lib or your file system and reference it there. 

    <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
    
    <script type="text/javascript">
    
    
    jQuery(document).ready(function($){
     $("input[value='FillInButton']").each(function()
     {
    	var inputID = $(this).attr("id");
    	$("label[for='" + inputID + "']").html("Others");
     }
     );
    })
    
    </script>
    
    



    The SharePoint Hillbilly
    Fewer Big Words... More Pretty Pictures... http://www.SharePointHillbilly.com
    Friday, July 8, 2011 2:12 AM
  • Thank You Very Much For Your reply Mark,

    I created a aspx page  and created  custom list form in sharepoint designer and inserted a data source from data source library for the custom list i created . So when i go to browser environment  Site actions-> Edit Page option is not active. So i dont know can i insert content editor webpart in SPD, but how do i link that to my form.

    I am bit confused can you elaborate a little bit . I am kinda rookie on this .

     

    Thank You

    Navin


    Navin Pokhrel
    Friday, July 8, 2011 1:17 PM
  • If you created a Custom List Form in SPD you can edit the form directly in SPD to modify the text of "Specify your own value" to whatever you want.

    I was assuming you were trying to remove it from the default forms.  

     

    Good luck,

    Mark


    The SharePoint Hillbilly
    Fewer Big Words... More Pretty Pictures... http://www.SharePointHillbilly.com
    • Marked as answer by NAPSTER123 Thursday, July 14, 2011 8:00 PM
    Tuesday, July 12, 2011 2:20 PM
  • Thank You Mark , Jquery Worked.

     


    Navin Pokhrel
    Friday, July 15, 2011 6:14 PM