Reputation: 3029
I am using FullCalendar Is there any way that ban the user to enter another event to the same day if s/he already added an event to that day before ?
So,If the use enters an event on a day,1-1-2012. If s/he clicks that day again,it will ban the user to enter a new event. I have an array of objects which contain the events the user enters. I am thinking now to filter this array and accordingly re-act when the user fires the select event. Am I on the right track !! Do you know other way to optimize that !!
Upvotes: 2
Views: 9104
Reputation: 104
In the version 2.2 of full calendar one can use eventOverlap to control overlapping of events. Refer http://fullcalendar.io/docs/event_ui/eventOverlap/
And for agenda slotEventOverlap Refer http://fullcalendar.io/docs/agenda/slotEventOverlap/
Upvotes: 0
Reputation: 1070
Yes. If you are tracking it, you have control of what needs to be done.
Please take a look at:-
In the FullCalendar dayClick event, can I get the events that already exist in clicked date?
Might help you.
Upvotes: 2