# Attribute Query Forms

In JMap, forms are used for attribute queries to enter the search parameters, to enter attribute values of editable layers and to manage data stored in databases. This is always done in relation with the elements of a layer.

The JMap administrator designs the forms using the [form designer](https://docs.k2geospatial.com/en2/administrator/layers/configuring-layers/forms#form-designer). Afterwards, users can use them in JMap Pro, JMap Web, JMap NG and JMap Survey.

Like data editing forms, attribute query forms are created using the [form designer](https://docs.k2geospatial.com/en2/administrator/layers/configuring-layers/forms#form-designer). They allow the users to enter query parameters. Each form component is therefore associated with a parameter of the query (`$param1,` ​`$param2`, etc.).

Unlike the other types of forms, they cannot be divided into sections. In addition, the **Photo** components are not available for this type of form.

These forms are created when configuring attribute queries, by clicking on **Form layout**.

When creating an attribute query form, it is important to consider which parameters are required and which are optional in the query definition. For instance, if **Required** is not selected for a form component, the query must consider this parameter as optional. Refer to the [Creating attribute queries](https://docs.k2geospatial.com/en2/administrator/jmap-server-administrator-manual/projects/configuring-projects/attribute-queries/..#creating-a-new-attribute-query) section for more information on optional parameters in queries.


---

# 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://docs.k2geospatial.com/en2/administrator/jmap-server-administrator-manual/projects/configuring-projects/attribute-queries/attribute-query-forms.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.
