<fm-flat-field-list> tag

Inherits the HTMLElement

Creates a flat field list on your HTML page.

You can also create the flat field list using the f3.Controls.FlatFieldList() method.

Attributes

NameDescription
state-idIdentifier of the state. State with the specified id must exist in your JavaScript code.

You can also use attributes available for HTMLElement. For example, you can specify the element’s id to reference the created instance.

Referencing the flat field list instance

You can get a reference to the created flat field list instance via the element’s id:

const flatFieldList = document.getElementById("#flat-field-list");

Example

Add a flat field list using the <fm-flat-field-list> tag: