Hello,
After creating a date-picker, there is an option to set the "Default Value" for it. And this is a static value. I'm wondering, is there an option to set this "Default Value" dynamically?
Here is my user-case: I'm having two date-pickers ("start date" and "end date") and by default I want them to have the values:
start date - to have the value of first day of the last month
end date - to have the value of the last day of the last month
If using the standard "static" way, I should update these values manually every time when we are in a new month, so I'm wondering if there is an option this to be done with formulas somehow?
* bonus question: is there a possibility to dynamically disable the date pickers, or any other way, to prevent the scenario for value of the "end date" to be before "start date"? (I want "start date" always to be before the "end date" and user to not be able to select dates otherwise).
NOTE: I don't want to use any other controls like "drop-downs". I want to have only these two visible elements (date-pickers) for the user.
Regards,