Conditional Styling and how to show borders when needed
kbt162718
PRODUCTObjective
When developing K2 forms, there may be a need to show that a Control or a Field is empty. Not only should the form display it empty, but also draw attention to it with different colors so users know the field must be filled out.
Use a combination of Conditional Styling and logic to accomplish this.
Before You Begin
Make sure that the Form/View is ready to go with the controls that need the color change on them. Also, ensure that you have a plan for the logic that will be used.How-to Steps
1. Click on the control where the color change should appear, and edit the Conditional Style/Format for the control.
2. Choose the color that will be used as well as the Style that will be used. (ie. Fill in Control, Show border etc.)
3. Once the Style is selected, configure the logic that will be used. This could be if the Control is empty, if it has a specific value, etc.
Final Result
Empty:
Not Empty: