Default value
In default value, you can pre-fill the field with any contents, and especailly coming from another field.
When showing a date-field, it will display as it is stored in the database, so in the format yyyyMMdd:hh:mm:ss.
This is not very readable, use this Javascript to define the display:
return CommonInterface.utcDateToString(CommonInterface.stringToDate(#REPLACE-PARTVALUE-Date1||#, "yyyyMMddHHmmss"), 'dd/MM/yyyy');
NOTE: set as Default value type: Javascript.
Last updated
Was this helpful?