This page demonstrates how to define a non-trivial default value for a column in the Insert form (for example, the default value can be retrieved from the database and/or calculated with a piece of PHP code). Such a feature can be implemented with the OnCustomDefaultValues event.

In the example below the default value for the Deadline column is calculated as today + 2 weeks.

Click the button to get familiar with the event handler code. Open the Insert form to see the result.