How to find an overlapping date in SP calendar

  • 23 June 2021
  • 2 replies
  • 30 views

I am trying to identify a date within a date range. Example, userA submits for a conference room

June 23 @8am - June 25 @5pm, userB submits for Jun 24 (all day). The conference room can be split in 2, so if userC submits for Jun 24, I need a validation error message on the form stating no conference room available on June 24.

 

Please assist. I am not sure how to eve


2 replies

Badge +12

@Vynnette26 can't you use calendar list and send your user to calendar view to block the room?

Userlevel 3
Badge +12

Hi,


You may need some custom javascript to achieve this.  


On selection of start date and end date, fire a javascript to check if any events already exists on the seleted date and show the appropriate message on a lable control or use alert() to show a message.

Reply