> For the complete documentation index, see [llms.txt](https://docs.work-relay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.work-relay.com/forms/best-practices/how-to-pre-populate-form-fields.md).

# How to pre-populate form fields

## Pre-populating source object fields

To pre-populate Source object fields, pass the field values to the form parameters using field API names.

The following example shows how to configure the Parameters when adding a form to the Lightning page. The form is configured on the standard Event object.

![](/files/b04a8d3e2dfe2f35f11165f0caff608f7ca48779)

Another example demonstrates how to configure the form input Parameters when using the form ["Navigate" action type](/forms/form-building/form-action.md#navigate-action-type).

![](/files/dc349530ea40f7168a027845ce906ec0e7cb46be)

## Pre-populating virtual fields

To pre-populate form Virtual fields, use the "Default Value" field option.

The format of the pre-populating value can differ based on the Virtual field type. Refer to the article linked with your Virtual field type in the [proper chapter](/forms/best-practices/how-to-pre-populate-form-fields.md#pre-populating-virtual-fields).
