# Rating

**Rating** controls are ideal for applying star grading systems to individual records.

**Data type**: `number`

### Adding a Rating control

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand **Input fields** section\
4\. Click on **Add input field**

![](/files/z1rle5StePC9sVJRwM61)

5\. Select **Rating** from the dropdown menu

![](/files/G1ScXRDPFz8hb7Foi9JI)

6\. Add a **label** to display in the form

![](/files/ibb1vNJlik8CcuHA8j5A)

7\. Add a **field** name

![](/files/GR3Us9xoGZUvTjAJGqXv)

{% hint style="danger" %}
If database is selected as data connection, then field name **must map** to destination table column name.
{% endhint %}

{% hint style="warning" %}
Field name cannot contain spaces.
{% endhint %}

8\. Click on **Done**

**Rating** input field can now be updated and saved.

![](/files/jmFWEKAKpdl670mTzAtz)

### Changing max rating value

By default, the Rating control displays a maximum of 5-stars, If you wish to customize the maximum rating value, please follow these steps:

1\. Edit your sheet\
2\. Click on the **Qommentary Form** extension\
3\. Expand the **Input fields** section and **Rating** input field\
4\. Update the **Max Rating** field

![](/files/yeWQ48zFHZdDQc7pn4SB)


---

# 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://knowledgebase.qommentary.com/qommentary-form/custom-data/adding-input-columns/rating.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.
