Extensibility forms module - Supported Field Types and Structural Nodes

The Extensibility Forms module in K2BTools supports a variety of field types and structural nodes, allowing you to design flexible, dynamic, and user-friendly forms. Structural nodes help you organize fields, group them in different ways (horizontally, vertically, or as cards), and add titles or repeatable sections.

Supported Field Types

Character (String Input)

  • Used for text or string input.

  • You can specify the maximum length for the field.

CharacterFieldExample
Example of a character (string) field in a form

Numeric (Numeric Input)

  • Used for numeric values.

  • You can specify the total length and the number of decimal places.

NumericFieldExample
Example of a numeric field in a form

Date (Date Input)

  • Used for date values.

  • You can specify if the date picker should be displayed flat, using the same logic as the Display Flat property in GeneXus variables.

DateFieldExample
Example of a date field in a form

Combo (Combo Box Input)

  • Used for selecting a value from a list.

  • You can configure:

    • Whether the combo should be treated as a collection variable (allowing multiple selections).

    • Whether the internal search of the combo box should be enabled (using the Include Search property).

    • A procedure to provide values (set in the Values Provider field).

    • A fixed list of values to be shown.

  • Note: If the Values Provider property is set, manually entered values are ignored.

  • The Values Provider must be a GeneXus procedure available in the environment, with a single output parameter of the K2BT_ExtendedControlValues type.

ComboFieldExample
Example of a combo box field in a form

Supported Structural Nodes

Structural nodes are used to organize and group fields within the form, control layout, and add repeatable or titled sections.

ExtensionFormExample
Form structure example

Card

  • Displays fields inside a card layout, which can also include a title.

  • Useful for visually separating different sections of a form.

Group

  • Corresponds to an HTML group.

  • Groups multiple fields together vertically by default.

Horizontal Group

  • Similar to Group, but items are listed horizontally instead of vertically.

  • Useful for arranging fields side by side.

Freestyle

  • A special structure type that allows the end user to define a collection.

  • The contents of the freestyle grid are repeated on the screen, allowing users to add or delete rows.

  • The end user can configure the collection's initial size.

  • In each row, the fields are repeated, and the user can input data for each row independently.