Format Rules doesn't affect color

Hello everyone

I have a form which  works totaly fine. The only thing that doesn't work is the color of text and icon on the buttons.

As you can see below, there is a button(Alk) with beer icon. I can change size and other format options of the button. Everything works but somehow the button and icon are not colorized.

Same column is colorized in other views as like in the last screenshot. I have disabled all other formating rules but still no progress. What can you suggest?

 Screenshot 2023-09-14 at 23.52.23.pngScreenshot 2023-09-14 at 23.56.42.png

Screenshot 2023-09-15 at 00.01.42.png

0 2 206
  • UX
2 REPLIES 2

It sounds you have a formula for each format rule and the challenge is..  format rules are recalcualted only when the form is saved, not when it's open.

Your rules are applied to the OrderItem table. Rules created this way do not seem to have their colors applied to form buttons, unfortunately (is it a bug or spec, it is hard to tell because the document does not explicitly mention where exactly format rules are applied)

What you could do, if your design allows it, is to create a table - say Categories - that lists the categories, make format rules against this table, make your category field in orderItem table reference this categories table (ENUM, REF to Categories). It could be that you already have a similar table created, in which case you just need to create rules on that table.

This way you can see the colors of your rules applied to form buttons. (see my little demo app below.. ref23 references another table to which format rules are applied and enum1 has format rules applied to itself)

TeeSee1_0-1694772167708.png

Colors are applied to non form views as expected

TeeSee1_1-1694772408168.png

Hope this works for you.

 

 

Top Labels in this Space