# Selection elements

In this section the administrator can configure **dynamic elements of the exchange form**, which are displayed to the user before creating a request.

The system supports two types of elements:

* **Checkbox**
* **Radio button**

Such elements are used for:

* confirming the user agreement
* confirming AML rules
* notifying the user of risks
* choosing one of the consent options
* displaying additional conditions before creating a request

All added elements are displayed in the exchange form and can be **required to fill out**.

## Elements table

The page displays a table with all created form elements.

Each row contains the following fields:

| **Field**         | **Description**                                                                                                                                                                                                     |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Text**          | The main text of the element that will be shown to the user next to the checkbox or the name of the radio button group. Supports text formatting and adding links (for example to AML rules or the user agreement). |
| **Type**          | Type of form element: checkbox or radio button.                                                                                                                                                                     |
| **Default value** | Determines whether the element will be selected automatically when the form loads.                                                                                                                                  |
| **Required**      | If enabled — the user must select this element before creating a request.                                                                                                                                           |
| **Active**        | Determines whether the element is displayed on the site.                                                                                                                                                            |
| **Actions**       | Allows editing or deleting the element.                                                                                                                                                                             |

## Adding a new element

{% stepper %}
{% step %}

### Create

Click the **Add**.
{% endstep %}

{% step %}

### Choose type

In the opened window select the element type:

* **Checkbox**
* **Radio button**
  {% endstep %}

{% step %}

### Filling fields

Fill in the required fields (see the “Element fields” and “Element options” sections for radio buttons).
{% endstep %}

{% step %}

### Saving

Press **Save**.

After saving the element will appear in the table and start showing in the exchange form (if activated).
{% endstep %}
{% endstepper %}

## Element options

Additional fields are available in the edit form:

#### Text

The main text of the element that is shown to the user.

The editor supports:

* text formatting
* adding links
* inserting lists
* images

Example text:

I consent to the processing of personal data and accept the terms of the user agreement and AML check.

## Features of element types

#### Checkbox

Checkbox is used to confirm user actions.

Features:

* the user can select several checkboxes at the same time
* usually used to confirm rules and terms
* can be required to create a request

Example:

☑ I accept the terms of the user agreement

#### Radio button

Radio buttons are used when the user must choose **one option out of several**.

Features:

* only **one option can be selected**
* used to choose one of the scenarios
* options are configured by the administrator

Example:

(\*) I have not passed an AML check

(\*) My wallet has already passed an AML check

## Practical example of use

The administrator wants to add confirmation of AML conditions before creating a request.

{% stepper %}
{% step %}
A new element is created.
{% endstep %}

{% step %}
The type is chosen **checkbox**.
{% endstep %}

{% step %}
The following message is added in the text field:

I consent to the processing of personal data and accept the terms of the AML check.
{% endstep %}

{% step %}
The element is marked as **required**.

Now the user will not be able to create a request until they confirm this item.
{% endstep %}
{% endstepper %}
