# Testing a form in web mode

## How to test a form

The Buttons bar includes a "Test" menu button. Clicking on it opens an overlay with a preview of your form:

![Form Preview overlay](/files/qxr2zUtX7gi6H0bWd0Ex)

Here, many of your form's functions are available, including:

* entering data into fields
* running formulas
* showing the Wizard if it is configured
* running actions and services

You can also [test PDF production](/form-builder/advanced/pdf-test.md) from this overlay, using the "Test PDF" button.

The following is not available:

* reading data from the database
* saving data
* submitting data
* switching to the View mode and other page navigation

Using the "Close" button takes you back to Form Builder.

At the bottom, you have the [Formulas console](/form-builder/formulas/formulas-console.md), which shows automatically in case of errors with formulas.

## See also

* [Testing PDF production](/form-builder/advanced/pdf-test.md)
* [Testing in offline mode](/form-builder/advanced/offline-test.md)
* [The `open-rendered-format()` action](/form-runner/advanced/buttons-and-processes/actions-form-runner.md#open-rendered-format)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.orbeon.com/form-builder/advanced/web-test.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
