Link to home
Start Free TrialLog in
Avatar of Howard Bash
Howard BashFlag for United States of America

asked on

SharePoint PreSaveItem Not Getting Called

I put a bit of custom JavaScript within a list new item edit form within the PreSaveItem function.  I set a breakpoint there and when I save the list item, I don't break in the function.

Please advise.
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Try to use PreSaveAction instead
Avatar of Howard Bash

ASKER

I tried PreSaveAction as well.  It never hits the break their as well.  

Here is the odd thing.  I have a js include that if I remove, the functions do break.  I use the same include on another page (a doc edit form vs. a new list form) and that works with the include.

I don't see any errors on the console either.
ok... so what this js you include do?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.