In SharePoint 2013 there are cases when you would like to
validated client side URL and prompt user if it is invalid URL. Below code
snippet can be used for this validation. Edit newform.aspx and editform.aspx,
place a script editor webpart with following code snippet. You can
alternatively created feature and on feature activation event add script edit,
inject this js code.
No comments:
Post a Comment