If you have updated your SharePoint environment (true for Office 365 as well) with recent patches (Service Pack or Cumulative Update) and are suddenly facing problems with any functionality that has been working fine for so long. Do not worry and check this, it might help.
What happened after the SharePoint update from Microsoft?Microsoft has made some updates/changes to the default Out Of The Box required site columns (something like Name field - internal name FileLeafRef).
Now required fields show up as a different name in your HTML DOM. The Title attribute for <input> will be changed and "Required Field" is appended to the old display name.
Old display name for Name field - Name
New display name for Name field - Name Required Field
Why will my code break?
If you are referencing to these column names in your JavaScript / JQuery code in SharePoint, then expect it to break and your users complaining about errors and broken functionality.
A good example is where you extract the document name into a JavaScript variable
var spDocName = $("input[title='Name']");
This line of code would have worked fine earlier as there is a field with title="Name" on your page.
But will fail after the patch now since title="Name Required Field".
How to troubleshoot such issues?The best way to troubleshoot this kind of issue is by using the Browser F12 Developer Tools.
Using developer tools, check the HTML code for the required column which is used in your code to verify if the title is changed.

- Move Copy Migrate SharePoint OneDrive files folders to different site collection location
- How to generate client id and secret to register SharePoint App with OAuth
- How to share SharePoint site or document with all users in organization
- Get-ADUser PowerShell - Get AD user details using email address
- error CAML Query containing special characters
- Access URL for SharePoint Tenant Admin Center (Online Office 365)
- Fix SharePoint Error - The Managed Metadata Service or Connection is currently not available. The Application Pool or Managed Metadata Web Service may not have been started
- SharePoint - The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
- How to delete SharePoint List Item programmatically using C#.Net
- How to Share Microsoft SharePoint Site with Users or Groups
- JSON column formatting to preview SharePoint Online file on mouse hover
- SharePoint List redirect user after submitting form NewForm.aspx
- See actual SharePoint error exception modify web.config
- SharePoint Server 2016 IT Preview Deprecated Removed features
- How to create SharePoint Document Library
- How to Get or Set SharePoint Document ID _dlc_DocId using PowerShell
- How to disable SharePoint subsite creation option for owners
- PowerShell - How to use Try Catch Finally blocks for error exception handling (Windows/SharePoint)
- SharePoint error - Your organization doesn't allow sharing with users from this domain. Please contact your IT department for help. (OSE403)
- [Solved] SharePoint Search Internal server error exception
- How to wrap column text in SharePoint Online Modern List Grid View using JSON formatting
- How to extend retiring SharePoint 2010 Workflows and continue with Office 365
- Changed AD user display name showing old name in SharePoint
- How to hide or remove quick launch left navigation from SharePoint Online Modern site page
- How to enable anonymous public access for SharePoint Online site collection, file, folder without login ?
- CentOS Cannot find a valid baseurl for repo base7x86_64 yum - HowTos
- Clone a particular remote brach using git clone command - Git
- How to Right Click on Mac Desktop? - MacOS
- List of Java JDBC Database Driver Jars, Classes and URLs Details - Java
- Auto Refresh Webpage after every x Second or Minute using Meta Tag? - Html
- List of jar files for Jax-ws (SOAP) based Java Web Services - Java
- [Fix] Docker Error response from daemon: manifest for :latest not found: manifest unknown - Docker
- [Android Studio] failed to find Build Tools revision 23.0.0 rc1 - Android-Studio