Date in a datepicker

How can I set the date in a datepicker a month in the future as the default value?
1 answers

You can do two things:

  1. Add an after/before create event which will set the date to addMonths([%CurrentDateTime%], 1)
  2. Create a Virtual Attribute and return addMonths($Myobject/createdDate, 1) in the Microflow

Of course, the second option will be a little more expensive because the action will be fired every time, instead of just once.