Forum Discussion

cyro sylas's avatar
cyro sylas
Copper Contributor
May 30, 2018

CHECK DOUBLE BOOKING

Case scenario.
-I have added a calendar
-Added some extra columns to the Event Content type
-Added the check double booking formula in the validation settings

The challenge I am facing is that when I create a new event I get the warning that the room i am booking is already taken up during the selected period however, I have not created any event as yet and the calendar is empty.

Kindly I need some help

 

 

Empty CalendarNew Event and Error but calendar is emptyNew Event and Error but calendar is empty

2 Replies

  • cyro sylas what is the formula you have used in validation settings?

    you may check JS solution for this issue http://spjsblog.com/2012/02/25/spjs-resource-management-no-more-double-booking/

    • cyro sylas's avatar
      cyro sylas
      Copper Contributor

      Hey @Velegandla,

       

      Thanks for the response, the formula is =[Check Double Booking].

      I also tired  a formula for the dates such that the end date is never less than the start date =[End date]<[Start Date], the event is never created even when I enter the dates correctly.