Back to Directus

Advanced Field Creation Mode

content/_partials/advanced-field-creation-mode.md

latest670 B
Original Source

You can use these advanced options to automatically set the values of fields at specific events by clicking on "Continue in Advanced Field Creation Mode".

For example, you can set the default value of a Many-to-One (M2O) relationship to be the current user.

Below is an example showing a updated_on Datetime field on a posts collection that is set to the current time upon creation and updating:

You can also set this mode after the field has been created.