This Dynamic style is a part of the Dynamic display rules settings, allowing users to apply conditional styling to their Yeeflow controls. Whether you're looking to emphasize priority items or simply want to enhance the visual appeal of your forms and pages, dynamic styling offers the customization you need.
When to use Dynamic Style?
Dynamic Style Settings allow you to set conditional styles for various controls within Yeeflow. You can customize the background color, text color, border, and shadow based on specific conditions or criteria. This means your controls can dynamically change their appearance in response to the data or user interactions.
Imagine you have a field called "Priority" in your data list or a variable in your approval form. With Dynamic Style Settings, you can set the text color to red when the Priority is High, green for Medium, and perhaps blue for Low. This immediate visual cue significantly enhances user experience and decision-making efficiency.
Controls supporting Dynamic Style
Container: Frame your content with dynamic borders and backgrounds that react to data or user interactions.
Text: Emphasize or de-emphasize text based on its importance or relevance.
Paragraph: Change the appearance of large text blocks with conditional styling.
Icon: Adjust icon colors to reflect status or category dynamically.
Button: Make buttons stand out or blend in, depending on the form's state or user actions.
How to use Dynamic Style
Select a control such as a Container, Text, Paragraph, Icon, or Button.
In the settings panel, under the Appearance group, find and click the "Dynamic display rules" button. This action opens a pop-up window.
From the Action's dropdown list, select the "Dynamic style" option.
Set the condition in Rule, then define the dynamic styles below.
If the conditions are met, the dynamic style will be applied to the control.
The original rule example sets Rule to Status == In Progress and selects Dynamic style as its Action. Show and Hide are separate Action choices; use those when the goal is to control visibility.
Historical Appearance settings: the complete Dynamic display rules button. Cropped from the original help-center image; capture date and product build are unknown.
Style Setting
Normal / Hover: Set different styles for normal and hover state of the field. Styles below are supported to be set separately for normal and hover state.
Text color: Set text color of the field.
Background color: Set background color of the field.
Border type: Select the type of border, choosing from none, solid, double, dotted, dashed, or grooved.
Radius: Set the border radius to control corner roundness.
Shadow: Adjust box shadow options.
In the original Radius editor, px and % units and four entries labelled Top, Right, Bottom and Left are available, with a chain control beside the entries. Border Type = None is the illustrated setting, not a required default. Confirm the rule with OK, then preview matching and non-matching records and check Normal and Hover.
For a comprehensive guide on setting conditions and actions, please refer to our detailed article: Dynamic display rules.

