# Exercise 11.2 - Attach a form to a Webform page

In this exercise we attach the webform created in Exercise 11.1 to a **webform page**, so that it’s accessible by the public and can have other attributes available to content types (for example, we could place it on a custom URL, attach to a site navigation menu, add metadata and use moderation workflow).

1. Create a new *Webform* content page by clicking on *Content* in the *Admin menu* then hover over *Add content* then click on *Webform*.

   <figure><img src="/files/dwEsRiiH3ZEZegqj9U44" alt=""><figcaption></figcaption></figure>
2. Add a *Title* and some text in the *Body* field, with guidelines about the form.
3. In the Webform field, select the webform created in the previous exercise (you may have named your form 'Simple Feedback Form' as in the screenshot below).
4. Explore the Webform *Settings* field, but do not modify anything there.
5. Attach the Webform to the main navigation.
6. Set the *Save as* dropdown to 'Published'.
7. Click the **Save** button to complete.

   <figure><img src="/files/aKozRhyGTey5WHUYelNS" alt=""><figcaption><p>Filling in webform fields</p></figcaption></figure>
8. Note that 'Feedback' is now a menu item on the *Primary navigation* menu. Click on the link. The page containing your form should look similar to the screenshot below.<br>

   <figure><img src="/files/hegVdKGEFMWfULnE5Q3h" alt=""><figcaption><p>The final webform page</p></figcaption></figure>


---

# 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://salsa-digital.gitbook.io/govcms-content-administration/unit-11-capturing-data-with-forms/webform-components/exercise-11-2-attach-a-form-to-a-webform-page.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.
