How do I set the default value for a field?

Description

A default value can be specified for a form field using Initialization commands.

If the form field is a top-level field, the default value is set using the Initialization Commands field in the Form's properties:

/TransFormDocumentation/pages/images/initializationCommands.png

If the form field is in a data group, the default value is set in the dataGroupStart's Initialization property:

/TransFormDocumentation/pages/images/initialization.png

See Initialization Commands to learn more about how to define the default value for a field.