I have a calendar view for various event types in a table. Some of these events are single day events, others are multi-day events spanning ranges.
Based on what I have seen, if I want to keep these in the same calendar I need to have them in the same table. So I have been playing with the best way to show this data in the calendar without making it confusing or cumbersome for users. I am open to any suggestions about this, but below I have shared a specific solution I am trying to make work.
I tried having 3 different date fields. One for single day events, the other for ranges, but I could not get the calendar to accept this method.
Now I have two columns. “Start Date” and “End Date” - for single day events these would be the same date. The problem with this is, if a user leaves off either start or end date, the event will not appear on the calendar. So I have to “force” this without depending on users to be consistent.
My idea for forcing it is to have a toggle to “lock” start and end dates together for single day events.
So theoretically if the switch is NOT toggled they can manually edit both start and end date fields, but if the switch IS toggled, the “start date” would always be the end date (meaning they only have to edit 1 date field)
The issue I have had with making that work is that I can only have a formula OR manual input.
I am open to alternative solutions to achieve the same goal (Display both single day AND ranges on the calendar without expecting users to update the date in 2 fields for single day events)
Here is the bare minimum version of the issue: https://coda.io/d/Testing-Playground_dyoE_FrifhU/Dates-and-Ranges_sujMj#_luuro