> 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/basics/how-to-preview-the-form.md).

# How to preview the form

Go to form builder. Open menu "Actions". Select option "Run" to open proper popup:

![](/files/f269944b8317d1086023b2c16c3df6188fe7451b)

Popup "Run" allows to pass data to the form:

* the record Id (to display form for a specified record)
* the process instance (to display form like it will be shown on specified process instance)
* custom parameters (if your form needs them, you can pass them manually. e.g. for testing purposes)
* mode - Edit or View (available starting release 8.7)

In case you do not need this, just click "Run" button to open the form preview in another browser tab.

![](/files/98047501b1f0645570db98849aad3fd53514b51c)

Form without record ID passed will work as for new record creation.

Check "Pass Record" checkbox - the record selector will be shown. Type ID into field or click settings button to open list of Records names (see picture below):

![](/files/ef1666047b49ea6d278e88c13fe135a7bd5a93db)

Filter by typing a part of record name, if necessary, and select Record Name by clicking a proper row. Click "Apply" to pass Record ID:

![](/files/5ae3de469524e786500dfda93acf739eaab56db5)

Check "Pass Process Instance" checkbox. Type Process instance ID or click settings button to open a list of processes:

![](/files/17c938cec58eeb868cfa6bd69d710076f158178a)

Filter and select process version. Click "Apply" to pass process instance ID. Form renderer will get this ID in "workflow" parameter.

![](/files/00c330a7940531402ec36f7628d61109d1bf66c2)

Check "Pass Custom Parameters" checkbox. Proper sub-form will be shown. Click "Add" button and set parameters. Type name and value of parameters to be passed to the form.

Finally click "Run" button to preview the form.

![](/files/077e00d53f7fbdfb5c6f2843ae5d93bf7541217e)
