Tag Info

New answers tagged


Use _spPageContextInfo in your JavaScript. Usage: var url = _spPageContextInfo.webServerRelativeUrl; alert(url); See others here: http://blah.winsmarts.com/2013-2-_sppagecontextinfo_is_your_new_best_friend.aspx


Of course it is possible. What you might use is JSLink to create some sort of a custom client-side validator. I, personally, found this link quite helpful when learning about JSLinks. https://www.martinhatch.com/2013/08/jslink-and-display-templates-part-1-overview-url-tokens-and-applying-jslink-to-objects.html EDIT: Also, a few great code samples: ...


You can make use of SharePoint default feature calculated column to achieve this. Please refer the below link. Calculated Column in SharePoint


You're missing syntax...here's a sample formula for an IF with an AND statement. An IF statement needs to return something...you're not returning anything. =IF(AND([Column1]>[Column2], [Column1]<[Column3]), "OK", "Not OK") https://msdn.microsoft.com/en-us/library/bb862071%28v=office.14%29.aspx


This problem occurs when Internet Explorer cannot detect the appropriate Office add-on to allow it open the corresponding client application. Unable to detect that Office is installed, Internet Explorer instead helpfully opens the file in the browser. Or not so helpfully, since the Excel web application cannot handle a large number of Excel features that ...


Try if (SPClientForms.ClientFormManager.SubmitClientForm('WPQ2')) return false; i didn't got a chance to look what 'WPQ2' means...but this worked for me...


You can add two field validations Expiration Date you can use formula =If([Expiration Date]>[Last updated],TRUE,FALSE) Last Updated you can use formula =If([Last Updated]<[Today],TRUE,FALSE)

Top 50 recent answers are included