Forum Discussion

kellyhickman14096's avatar
kellyhickman14096
Brass Contributor
Mar 26, 2024
Solved

Conditional formatting based on Null value of field

I'm attempting to do conditional column formatting with JSON to assign a color to those fields showing any value, and no color for those that are a Null value. I found this online, which according to...
  • ganeshsanap's avatar
    Mar 27, 2024

    kellyhickman14096 

     

    Are you trying to change the color in list view using column formatting or on list form using form formatting?

     

    First schema code given is for column formatting and seconds schema code is for form "body" formatting.

     

    Unfortunately, form "body" formatting does not support conditional schema like column/view/form header/form footer formatting:

    Unlike the header and the footer, body configuration only allows defining one or more sections and adding one or more columns into each of those sections.

     

    SourceConfigure custom body with one or more sections 

     

    Related readMake section border/separator invisible in list form body custom layout with JSON 


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources