We know that in SharePoint, every page is associated with a master page. So we will not have a <Form> tag in it. So it becomes difficult to capture OnSubmit event. But the following post gives a very good explanation on how to achieve this.
http://edinkapic.blogspot.com/2007/10/add-javascript-date-validation-into.html
To achieve the OnLoad event for the <Body> tag, use the following function call
_spBodyOnLoadFunctionNames.push("ExecuteMyFunctionOnLoad");
Thanks to the following link
http://meherkanthch.blogspot.com/2009/01/how-to-add-onload-javascript-event-in.html
Showing posts with label Capturing Form events in Custom List Forms in SPD. Show all posts
Showing posts with label Capturing Form events in Custom List Forms in SPD. Show all posts
Monday, February 15, 2010
Subscribe to:
Posts (Atom)