Hide List Form Field in SharePoint using jQuery
My earlier post listed various methods such as C# Object model,
PowerShell, JavaScript methods to hide columns in SharePoint list forms: Hide Columns in SharePoint List
NewForm, EditForm and DispForms
Now, let’s hide fields in
SharePoint list form pages using jQuery. Let’s say you have a field called
“Parent Project” and want to hide it from All SharePoint list forms such as
NewForm.aspx, EditForm.aspx and DispForm.aspx.
jQuery script to hide
SharePoint a field in New, Edit, and Display Forms:
Consider downloading and placing a jQuery JS file to your SharePoint hive in case, for faster retrieval. E.g. Instead of “http://code.jquery.com/jquery-1.2.6.min.js“, you’ll be placing it in _layouts folder and referring as: http://teamsites.crescent.com/_layouts/jquery-1.2.6.min.js
Ref: https://www.sharepointdiary.com/2013/04/hide-sharepoint-list-form-field-using-jquery.html