Forum Discussion
Conditional Formatting for List Header
- Jan 26, 2023
It is normally more helpful to include your advanced formatting json so people can fully test thier answers before submitting a solution. That said, I think the comparison you are needing is as follows:
=if([$Name.email]!='', 'true', 'false')
The place I would put that comparison is on the "display" property in the "style" attribute of the icon, which would look something like this:
"style": { "display": "=if([$Name.email] != '', 'block', 'none')" }
I hope this helps.
Good Luck!
Don
If my answer helps solve or resolve your issue, please consider clicking Mark as Best Response & Like. 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 a Like.
It is normally more helpful to include your advanced formatting json so people can fully test thier answers before submitting a solution. That said, I think the comparison you are needing is as follows:
=if([$Name.email]!='', 'true', 'false')
The place I would put that comparison is on the "display" property in the "style" attribute of the icon, which would look something like this:
"style": {
"display": "=if([$Name.email] != '', 'block', 'none')"
}
I hope this helps.
Good Luck!
Don
If my answer helps solve or resolve your issue, please consider clicking Mark as Best Response & Like. 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 a Like.