> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Prefill the widget form

In some situations you might want to prefill some fields for the user. This can be achieved with the following method.

```csharp theme={null}
Gleap.PreFillForm(new Dictionary<string, object?>
{
    ["description"] = "This text will be prefilled.",
    ["errordescription"] = "This text will be prefilled as well.",
    ["someformidentifier"] = "This text will also be prefilled.",
});
```

You need to pass a key/value pair to `PreFillForm`. The key is the form identifier, which can be found under the 'Advanced' section of a question (see the screenshot for an example).

<img src="https://mintcdn.com/gleap-1d346ffa/b8_EVsZHbtxdB2pN/images/prefill.png?fit=max&auto=format&n=b8_EVsZHbtxdB2pN&q=85&s=3be23cbaaafb99eb81452eb32516bfcd" alt="Form identifier" width="2292" height="1792" data-path="images/prefill.png" />
