1 <?cs def:set_field(card, out_field, in_field, default, color) 2 ?><?cs if:in_field.changed == #1 3 ?><?cs set:color="#ff0000" 4 ?><?cs /if 5 ?><?cs set:val = in_field 6 ?><?cs if:!?val || (val == "") 7 ?><?cs set:val = default 8 ?><?cs /if 9 ?><?cs set:card[out_field] = "<font color=" + color + ">" + val + 10 "</font>" 11 ?><?cs /def ?> 12 13 <?cs call:set_field(Biz, "Address2", Biz.Address2, "", "#888888") 14 ?><?cs call:set_field(Biz, "Address3", Biz.Address3, "", "#888888") ?> 15 16 Biz.Address2 = <?cs var:Biz.Address2 ?> 17 Biz.Address3 = <?cs var:Biz.Address3 ?> 18 19