Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

activate font color not changing on multiple values selection

i have a button which selects all values in country field ,i am setting action select in field  Country '(INDIA|US|UK*)',it selects correctly, but when i apply background color calculation on activation with if(Region='(INDIA|US|UK*)',LightRed(),black()),it does not work?? any idea

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

sorry, I didnot try it

what i tried now works in my test

=if (GetFieldSelections(Region)='INDIA, US, UK',Lighred();..)

I guess there is a space between , and next character

and it might depend on the order how you select the regions (if you do by Action it should work)

View solution in original post

5 Replies
Anonymous
Not applicable
Author

you Need to concat the regions and test to the result

if (concat(Region,'|')='INDIA|US|UK',LightRed(),...

when you select the regions with '(INDIA|US|UK*) each Region will be selected, bit not within 1 string

Not applicable
Author

thanx linder but still text color not changing

Anonymous
Not applicable
Author

sorry, I didnot try it

what i tried now works in my test

=if (GetFieldSelections(Region)='INDIA, US, UK',Lighred();..)

I guess there is a space between , and next character

and it might depend on the order how you select the regions (if you do by Action it should work)

Not applicable
Author

Color change also working for you?

Not applicable
Author

it works thanx a lot for the solution