Calculate the date of the Monday before a specific date
My client wants to know if we can write a calculation script in a table of From/To boxes to pre-fill the boxes based on whatever is in the "Date of Injury" field (titled injury_field).
I believe the last "TO DATE" is the Monday prior to the Date of Injury. And then all the other dates work backward from there. (So each from/to dates need to be Mon-Sun)
Example: The injury_date is 04/15/2020. The Monday prior to that date is 04/13/2020 and I want that to auto-populate in the "to date" box once we fill in the injury_date.

