Pages

Wednesday, April 19, 2017

PreSaveAction Function On Custom List


How's it's Catch:

SharePoint 2007, I had written an article about how to modify Default OK Button to Customized Action (http://www.gandhipritesh.com/2009/10/change-default-ok-button-to-cusomized.html). Today I have come across the same scenario then I have suggested the same thing but now SharePoint is so advanced that It will default give the PreSaveAction Method.

When you can use:

We do have a requirement to perform some operation before data saved.PreSaveAction function allows overriding functionality when Save button is clicked. PreSaveAction function executes the code written for validation on click of Save button.


A couple of Useful Links:

* https://social.technet.microsoft.com/wiki/contents/articles/31330.sharepoint-using-presaveaction-function-on-custom-list-forms.aspx

* http://hannanazam.blogspot.in/2013/04/sharepoint-2013-apps-custom-validation.html

* http://www.c-sharpcorner.com/article/pre-save-action-on-document-libraries-in-sharepoint-2013-and/

No comments:

Post a Comment