Hello,
how to set default value date type field to yesterday?
Thanks
Jan
Thanks, it’s working, is it possible to write similar script directly to the field definition form, like is shown in the picture?
No, only pure javascript can be written to Default value, for example new Date().
Filip Tabidoo
Thanks Filip,
I’d like to extend the behavior as follows:
in the form there are two dates Datod and Datdo.
Both dates are set to yesterday by the script.
I need a script that when the value of the Datod field is changed, changes the value of the Datdo field to the same date.
Thank you