# Must be exactly X number of characters

This rule is used to determine the character length, the rule fails if the character length is not equal to the required amount set.

![](https://1186088597-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MSr2uF2m-DtSpCxknCK%2F-Ma4Kkfvff4rZVah-KTP%2F-Ma4L6-QO2SIXLR7U-TR%2Fimage.png?alt=media\&token=da481921-5aac-4202-98aa-f58201d01251)

### Rule Parameters

| Parameter            | Description                                                                                              |
| -------------------- | -------------------------------------------------------------------------------------------------------- |
| Number of Characters | The number of characters it must equal, this must be a numeric value for the rule to function correctly. |


---

# 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.blocworx.com/blocworx-documentation/bloc-editor/managing-a-field/field-rules/must-be-exactly-x-number-of-characters.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.
