# Auto Populate Fields In Your Tool URLs

You can use URL Parameters to auto populate fields on single page tools. The URL parameters will directly relate to the question ID you are wishing to have it populate.

{% hint style="info" %}
Be mindful of using spaces, and properly encoding your text without spaces. Use proper **URL Encoding Functions** from <https://www.w3schools.com/tags/ref_urlencode.ASP>
{% endhint %}

## Form builder IDs

The first step is to properly note your IDs you are using for your questions. Below is an example of the IDs: email, destination, and fullname&#x20;

{% hint style="info" %}
Make note of the type of fields you are populating, multiline inputs will accept any type of text, however number fields will only populate with numbers and dates and will not accept text values.
{% endhint %}

<figure><img src="/files/i2dpoEH1e7YhwcCcFqqN" alt=""><figcaption></figcaption></figure>

You can see in the example below, we are using the parameter string

```url
?destination=Greece&email=test@test.com&fullname=John%20Smith
```

<figure><img src="/files/rMr8DZwPIaq5kIuqrko6" alt=""><figcaption></figcaption></figure>

As you can see the order of the parameters does not matter, and parameters properly encoded such as "John Smith" has the space encoded with "%20". Formwise will automatically recognize this.


---

# 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://manual.formwise.ai/formwise/core-tools/smartforms/auto-populate-fields-in-your-tool-urls.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.
