Hey,
I’d like to set a deadline value which should always be 2 weeks before an event date.
date:
label: Event Date
icon: calendar
type: date
translate: false
default: today
display: DD.MM.YYYY
required: true
width: 1/3
deadline:
type: date
disabled: true
display: DD.MM.YYYY
default: page.date - 2 week
since default values are set only once the page is created, I figured this would not work.
But can I somehow set that deadline date in another way?
Otherwise I’d have to fiddle around with ->sub(‘P14D’) on the date.
I failed to work that out so I hoped that I could simply set it somehow through the panel.