Skip to main content

Tags

Add a Tags field in Yeeflow, limit how many tags people can select, and configure validation, actions, and styles.

Use a Tags field to categorize records, such as knowledge articles or company policies. People can choose existing tags or enter new ones. For example, tag a policy with Procurement and Contracts so it can be found under either topic.


Add the Tags field control

In an approval form, open the controls panel and drag Tags into a section or container. For a data list, add a Tags field to the list, then open the list form designer and drag the field onto the form. Create and manage data fields · List form designer.


Basic of the Tags field

Select the control and open Content → Basic. Set the Title, such as Policy topics. When you add the control to an approval form, Yeeflow creates an associated variable. Select Edit to change its ID or name, or Reset to bind the control to a compatible existing variable. In a list form, confirm the control is bound to the field that should store the tags. Form controls and their associated variables or fields


Appearance of the Tags field

Under Content → Appearance, use Number of Tags to limit how many tags a single field value can contain. For example, set it to 2 if each policy can have two topics. In preview, select two tags and try to add a third to check the limit.

Use Display Title, Title Layout, and Title Width to set how the label appears. Turn on Allow Comment if people need to comment on the field. Use Dynamic Display Rules to change how the control behaves under specific conditions. Field control titles · Dynamic display rules

Tags Appearance panel showing the Number of Tags setting with an example value of 50, plus title, comment, and display rule settings.


Validation of the Tags field

Under Content → Validation, turn on Required to require at least one tag, or use Readonly to display existing tags without allowing edits. Use Custom Validation to set additional conditions and the error message shown below the field when a condition is met. Custom validation

Test an empty field, an existing tag, and a new tag. For a list form, reopen a test record after saving and check its stored tags. For an approval form, check that a subsequent step can read the associated variable if your workflow uses it.


Action call of the Tags field

Create a form action, then open the Tags control's Content → Action settings. Select that action from Value Changed so it runs when the tags change. Preview the form and add or remove a tag to verify the action's effect. Form actions.


Style the Tags field control

Use the Style tab to configure the picker, its list of choices, and the selected tags. Preview a long tag name and a record with several tags at both desktop and phone widths.

Field - Editable

Under Field - Editable, adjust the picker text, placeholder color, alignment, padding, and field width. Use px, %, em, rem, vw, or calc for width. If the field is narrower than its container, adjust Field Alignment to position it. Set text and background colors, border, corner radius, and shadow for the normal and focused states.

Under Selected items, adjust the typography, spacing, colors, background, border, corner radius, and shadow of selected tags. Under Error Message, adjust the text styling and color of validation messages.

Dropdown

Under Dropdown, adjust the typography, alignment, and padding of choices. Use the available state settings, such as Normal and Hover, to set text color, background, border, corner radius, and shadow. Open the dropdown in preview and check that the choices are readable when you hover over them.

Field - Read Only

Under Field - Read Only → Selected items, adjust the typography, margin, padding, colors, border, corner radius, and shadow of the displayed tags. If you leave this style unset, the control uses the Field - Editable style for selected items.

Style of title

Adjust the title's typography and check its alignment with the picker and nearby fields. Use the title layout setting to place it above or beside the field. Field control titles.


Advanced Settings

Use the Advanced tab for shared control settings such as margin, padding, and width. In the phone preview, check that the title, tags, and validation text remain readable. Advanced settings tab.


​

Did this answer your question?