Is there anyway within in VFE to make a button color change if the condition has been met or unmet? For example, if the patient is due for something, then we want the color to be "Red" but if the patient is not due for anything then the color to default to "Green".
You can make a two visibility regions(stacked on top of each other), each with a button of the desired colors, and toggle between the two with the logic you are wanting to show.
-James
We have a form that does this, but we do not simply use a single button, we have 2 buttons, each existing in it's own visibility region. Pink "Due" button and grey "Not Due" button and the visibility regions check to see which one is supposed to be displayed.
thank you both for the quick response.
Does anyone have what the coding would be for this visibility? I know how to do the coding for the OBS being yes or no but not sure how to code it for a date variation.
What is your "business rule" for the visibility region? What are you trying to compare exactly?