Many of us have requirements of validating Metadata Fields in the client side itself, thus giving a nice little alert message and avoiding save....very interactive and nice.... Find below a script that you can use for the same. All you need to do is, go to your Document Library or List, Go to the Edit Form WebPart Page, add a Content editor WebPart, edit the HTML Source and put this script inside... below the Edit Form and Save the Page back (Page ribbon -> Stop Editing).... The script is inside the PreSaveAction() that is called by the SharePoint Save method, which if returns false, the validation is considered failed and SharePoint does not save the data.. -------------------------------------------------- <script type="text/javascript"> function PreSaveAction() { var iRef = document.getElementsByTagName("div"); var arr = new Array(); for(var i=0;i<iRef.length;i++) { if(iRef[i].id.indexOf("editableRegion")>=0) { ...