Sunday, December 28, 2014

change NewForm2 behaviour

Hello. I am wondering if this is possible...


On SP lists, when you click "Add new item" it calls NewForm2 to to show a dialog. I am wondering if I can add code to the NewForm.aspx so when the user clicks OK or Cancel the parent window runs some javascript.


I know NewForm2 must have some kind of "is done" function because it refreshes the window after the user clicks OK. So I'm wondering if inside the NewForm.aspx dialog I can modify that "is done" function.


No comments:

Post a Comment