Click here to Skip to main content

Comments by Rupesh Tarwade (Top 2 by date)

Rupesh Tarwade at 9-Jun-11 8:04am View
SharePoint uses PreSaveItem internally to wireup PreSaveAction function. This code can be found in Form.js in Layouts folder.
function PreSaveItem()
alert('Inside PreSaveItem');
if("function"==typeof PreSaveAction)
return PreSaveAction();
return true
So need to write the code in PreSaveAction method.
Thanks for the help/
Rupesh Tarwade at 9-Jun-11 0:59am View
Hello Mark,
I found that PreSaveItem in javascript fires before the save button function is called. Can this be used to perform the validation?
However, I am unable to get this thing work.

Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid