Infomaker Question

Does anyone out there know how, (If it's possible)  To change the text or backround colours based on a parameter?  My exact purpose would be to highlight if a membership was current, expired, about expire, etc.  In the header.  Thoughts?

 

Chris

Parents
  • Sure, just select the field you want to vary, go into the Properties area, click the font tab, and look for the "Text color" parameter. Next to it will be a little button that's a blue equals sign with a black slash through it, indicating that you have not set up any rules for it. Click it and you will get a box where you can write a rule.

    So if you have an expired flag somewhere, for instance, and you want to make the text red when it's expired, you would write if( expired_flag = 1, RGB(255,0,0), RGB(0,0,0))

    There's a color table in the Infomaker built in help system under RGB Infomaker expression function.

Reply
  • Sure, just select the field you want to vary, go into the Properties area, click the font tab, and look for the "Text color" parameter. Next to it will be a little button that's a blue equals sign with a black slash through it, indicating that you have not set up any rules for it. Click it and you will get a box where you can write a rule.

    So if you have an expired flag somewhere, for instance, and you want to make the text red when it's expired, you would write if( expired_flag = 1, RGB(255,0,0), RGB(0,0,0))

    There's a color table in the Infomaker built in help system under RGB Infomaker expression function.

Children
No Data