# Form

Helps to collect multiple value from the user on submit button click as an object in `msg.payload`

Multiple input elements can be added using add elements button

Each element contains following components:

* **Label** : Value that will be the label of the element in the user interface
* **Name** : Represents the key (variable name) in the `msg.payload` in which the value of the corresponding element present
* **Type** : Drop drown option to select the type of input element
* **Required** : On switching on the user has to supply the value before submitting
* **Rows** : number of UI rows for multiline text input
* **Delete** : To remove the current element form the form

Optionally the **Topic** field can be used to set the `msg.topic` property.

The Cancel button can be hidden by setting it's value to be blank "".


---

# 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://maya-admin.gitbook.io/building-skills/product/node-library/dashboard/form.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.
