Need to change font color along with static data in an if else statement
I am trying to change the font color in the bip form but I am unsuccessful.
This is my coding today without the attribute that puts the amount at 0.00 if the extended amount = 0 or the field does not exist.
<?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else
0.00
end if?>
I have tried the following with no success:
- <?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else <?attribute@incontext:color;'red'?>0.00
end if?> - <?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else 0.00 <?attribute@incontext:color;'red'?>
end if?> (displays end if as comment) - <?xdofx:if Extended_Price_ID27 !='' then Extended_Price_ID27 else 0.00 attribute@incontext:color;'red'