In some cases, you might want to specify a default value for a
field. You can specify a constant for the default value or you
can use a script to calculate a default value.
To specify the default value for a field:
- In the Fields grid, click the Default Value cell
of the field that you want to modify.
- Click the down arrow and select the type of hook to use.
Compile each script to catch any syntax errors in the code before
you associate it with the field. For an example of a default value script,
see
Field default value hook examples.