I am trying to catch double booking when people create events on a calendar in SharePoint 2016.

Using the PreSaveAction function, I want to retrieve the current item being created and then do a for loop and compare the current item to each existing event already on the calendar using jQuery.

I would want to retrieve three columns for each item:

  • Location

  • Start Time

  • End Time

I am doing this through the NewForm.aspx using the script editor web part.

I have never used Javascript or Jquery before so please note such.



1 Answer 1


You could refer steps in below article to have a test:


  • Already looked at that link plenty. Not really useful to me.
    – colt.coogs
    Commented Mar 19, 2020 at 13:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.