Skip to main content
How to hide/disable  sharePoint list drop down , text  Term field in SharePoint Edit form using Jquery

To hide drop down/term store field

Note:  Refer jquery in the beginning

$(document).ready(function(){

    $('td').each(function(){
        if($(this).find('nobr').text() === 'UserName) {
            $(this).closest('tr').hide();
        }
    });
      //Disable Text box / Drop down
      $("select[title$='Address']").attr('disabled', 'disabled');

       //Hide  Text box
     $("input[title='Userid']").closest("tr").hide();
});

//Hide  Dropdown list
$('nobr:contains("OtherCity")').closest('tr').hide();

Source
https://blog.devoworx.net/2016/03/19/show-hide-fields-based-on-choice-field-selection-using-jquery-in-sharepoint/

Comments

Popular posts from this blog

LIST OF INTERNAL NAMES FOR SHAREPOINT FIELDS Title InternalName $Resources:RulesUrl $Resources:XomlUrl % Complete About Me Account Action Actual Work Address All Day Event Allow writers to view cached content Anniversary Append-Only Comments Approval Status Approver Comments Article Date Assigned To Assistant’s Name Assistant’s Phone Associated Content Type Associated Service Attachments Author Automatic Update Base Association Guid Billing Information Birthday Body Body Body Was Expanded Business Phone Business Phone 2 Byline Cacheability Callback Number Car Phone Categories Category Category Category Check for Changes Check In Comment Checked out User Children’s Names City Comments Comments Company Company Main Phone Company Phonetic Completed Computer Network Name Connection Type Contact Contact E-Mail Address Contact Name Contact Photo Contact Picture Content Category Content Type Content Type ID Content Type ID C...

How to remove special characters from the SharePoint list column using calculated column - SharePoint online

Remove special characters  from the SharePoint list column using calculated column =REPLACE([FirstNameLastName],SEARCH(" & ",[FirstNameLastName]),0,"") or =IF(ISERR(SEARCH("&",Title,1)),Title,REPLACE(Title,SEARCH("&",Title,1),2,""))  Source https://social.technet.microsoft.com/Forums/sharepoint/en-US/42391d83-a6eb-480f-b84a-3d43ef4f5e40/calculated-column-to-remove-amp-and-space-quotamp-quot?forum=sharepointgeneralprevious https://social.technet.microsoft.com/Forums/office/en-US/74d8022b-03f4-4ccf-9bfc-a3075a2f9202/multiple-replace-on-calculated-column?forum=sharepointgeneralprevious