X4 Help Center

Creating Forms in the Forms Editor

Prerequisites:

  • You have created a Form Component in the X4 Designer.

  • You have opened the Forms Editor from the X4 Designer.

Adding form elements

Note:

When you create a new form, you can only place the first control in the existing flow layout (the gray area labeled Drag components into this area) in the form area. All other controls can be stored in the existing layout or in a new responsive layout. A new responsive layout is automatically created when you place an element above or below an existing layout.

For more information on layouts, see Layouts.

  1. Drag and drop a control from the tool area to the desired position in the form area.

  2. Release the mouse button to place the control in the desired position.

Tip:

As you drag, the editor displays a visual highlighting of the possible drop locations:

image-20251203-104901.png

Moving form elements

  1. Select an element in the form area.

  2. Hold down the left mouse button and drag the element to a new location.

  3. Release the mouse button to place the element in the desired position.

Deleting form elements

  1. Select an element in the form area.

  2. Select the image-20260312-141822.png icon.
    ✅ The element will be deleted without further confirmation.

Tip:

If you accidentally delete an element, you can undo the deletion via image-20260312-141840.png Undo.

Note:

  • If the deleted element contains children, they are also deleted.

  • An empty responsive layout is automatically deleted.

Configuring form elements

  1. Select an element in the form area.
    ✅ The configuration area displays the available attributes for the selected element.

  2. Define the desired attributes.

For more information on the attributes, see the Controls documentation.

Note:

  • Mandatory fields are marked with an asterisk (*).

  • All entries are accepted immediately and are visible in the form area.

  • All entries are transferred to the .form file in the X4 Designer and are visible there.

Configuring attributes with input assistance

Many of the attributes of controls can not only be entered as text, but can also be configured more conveniently and securely with special input assistance features. These features help you select valid values, avoid errors, and make complex settings faster. Depending on the property, the appropriate selection or search help opens automatically.

Tip:

Select the image-20260312-141909.png icon next to an attribute to display available input assistance features. If the icon is grayed out, no options are available.

The following input assistance features are available:

Input assistance

Usage

Example

List of calues

Attributes with fixed selection values


image-20251204-073347.png


Binary values

  • Yes/no selection

  • Enabled/disabled selection

image-20251204-073452.png


Translations

Multilingual properties

image-20251204-111532.png


Data binding

Selection of properties defined in the view model

image-20251205-100722.png


Colors

Selection of colors using the following options:

  • Data binding

  • Theme color

  • Color selection

image-20251205-100754.png


Processes

Selection of a process that exists in an X4 project

image-20251204-145723.png


X4 projects

Selection of an X4 project for a custom control

image-20251204-145923.png


Previewing the form

  • In the toolbar, select image-20260312-142008.png Preview.
    ✅ A new browser tab opens with a preview of the form.

Note:

You cannot enter data in the form preview. The preview is used to get an overview of the structure of the form.