Tag Info

New answers tagged

2

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


0

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: ...


0

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


0

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


0

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 ...


0

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


1

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