Thanks Jonathan.
That works.
Is there a possible way to use less fields for this ?
I have an app with 110+ check boxes where I need the same result.
That would need 2*n+ fields....
I'm thinking in the direction of repeating fields and dropping calculated results in it....
Or maybe my road of thinking will lead to a dead end....