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:
These scripts can be placed in Script Editor web part, Custom JS file linked in Master page or as part of SharePoint delegate controls.
To hide fields in SharePoint list form pages using jQuery, Navigate to Newform.aspx or any other form page, Click on site settings icon >> Edit page >> Insert a Script editor web part and paste the above codes accordingly.
Consider downloading and placing a jQuery JS file to your SharePoint hive in case, for faster retrieval. E.g. Instead of “https://code.jquery.com/jquery-1.2.6.min.js“, you’ll be placing it in _layouts folder and referring as: https://teamsites.crescent.com/_layouts/jquery-1.2.6.min.js