# Control Block

## Description

* Control blocks are used to distinguish standard HTML input elements from Sodium input elements in a [Form File](/sodium_documentation/language-reference/program-structure/form-file.md).
* Control blocks cannot be nested.
* Sodium CSS rules only applies to input elements in Control Block and Data Block elements.
* Sodium event/triggers only applies to input elements in Control Block and Data Block elements.
* Control block's name is mandatory and must be unique in a form file.

## Declaration

```
<controlblock
    control-block-name  = "">
</controlblock>
```

## Properties

### &#x20;control-block-name property

&#x20;**Mandatory :** yes\
&#x20;**Unique :** yes\
&#x20;**Data Type :** char\
&#x20;**Default Value:** -\
&#x20;**Predefined Values Allowed:** -

## Triggers

None

## Allowed Inner HTML Elements

&#x20;Standard HTML Tags\
&#x20;[Inputs](/sodium_documentation/language-reference/tags/inputs.md)\
&#x20;[Tree Element](/sodium_documentation/language-reference/tags/tree-element.md)

## Built-in Functions


---

# 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://muradkarakas.gitbook.io/sodium_documentation/language-reference/tags/control-block.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.
