Custom fields

Section "Custom fields" allows administrators to create additional parameters for collecting or displaying information in directions. When the button is pressed "+Add" a form for creating a new custom field opens, which contains a wide set of settings. Custom fields can later be used in the General section - Currenciesarrow-up-right when configuring one of the

At the top of the form there is a choice of tag type (for example, Memo, Iban, etc.), as well as toggles "Active" and "Required". This allows you to immediately determine whether the field will be available for use and whether the user must fill it out.

Next is the block content localization. The administrator can set the field value in different languages (RU, EN, UK), which provides multilingual support. The following parameters are specified:

  • Name — the name of the field itself;

  • Placeholder — a hint for the user;

  • Helper text — additional clarification or instruction.

Below is the section "Field type", where you can choose the input format (for example, Input). This determines how exactly the user will enter the information.

A separate section is devoted to field attributes. Here the following are set:

  • Input — a standard text field for entering any characters.

  • Number — a field for entering only numeric values.

  • Textarea — a multiline text field (for long messages or descriptions).

  • Boolean — a Yes/No or On/Off toggle.

  • Date — date selection via a calendar.

  • Email — a field for entering an email address (with format validation).

  • Phone — a field for entering a phone number.

  • City select — a special field with city selection.

  • Nickname — a field for entering a unique nickname.

On the right is available preview of the field, where you can immediately see how it will look for the end user. This helps check the correctness of the settings before saving.

At the bottom are buttons "Save" and "Cancel", which allow you either to apply the changes or to exit without saving.

Thus, the functionality for creating a new custom field provides full flexibility in configuring additional parameters when creating currencies. It allows you to make fields as convenient and localized as possible and meeting business process requirements and to use them later at your own discretion.

Custom selector affecting the exchange rate

Function description

The admin panel has added the ability to — create a custom field of the “selector” typethat can be attached to a currency both on the "Give"side and "Receive".

This field is displayed on the application form as a dropdown list, where the client selects one of the predefined options. The user's choice of a specific option affects the exchange rate in the given direction — by multiplying by the corresponding coefficient.

  • For the selector the following are specified:

    • Field name (displayed on the frontend);

    • One or more selection options (options);

    • For each option the coefficientthat affects the rate is specified.

💰 Rate recalculation logic

Direction of application
How the coefficient works

The selector is tied to "Give"

The coefficient is multiplied by the rate of the currency the client gives.

The selector is tied to "Receive"

The coefficient is multiplied by the rate of the currency the client receives.

Coefficient not set

The base exchange rate is used without changes.

📌 Thus, the administrator can flexibly adjust the final exchange rate depending on the conditions selected by the client — for example, the transfer method, bank, wallet type, etc.

When sending data to BestChange the main (base) rate is used — without taking into account individual coefficients set in custom selectors. This ensures correct display of rates in monitoring.

Example: A “Transfer type” selector is created for the currency UAH (Give) with the following options:

Option
Coefficient
Description

Iban

1.00

Base rate

PrivatBank

0.98

Rate lower by 2%

MonoBank

1.02

Increased rate

When the client selects “Monobank” during application → the UAH rate increases by 2% (multiplied by 1.02)

Thus, the functionality for creating a new custom field provides full flexibility in configuring additional parameters when creating currencies. It allows fields to be made as convenient and localized as possible and to meet business process requirements, and later to be used at will.

Last updated