Click here to Skip to main content
13,297,048 members (52,331 online)

Comments by Rupesh Tarwade (Top 2 by date)

Rupesh Tarwade 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 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 |
Web02 | 2.8.171207.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid