You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Setting boolean values from separate boolean trigger

Accepted answer
71
Views
2
Comments

Summary:

Commerce -

There are 3 boolean attributes in the form of switches; A, B, C. At any given time, when one of those attributes have been set to true, the rest should be false. How do I set values for the remaining two attributes after the first one's value is changed?

Content (required):

Commerce -

There are 3 boolean attributes in the form of switches; A, B, C. At any given time, only one of those attributes should be true and the rest should be false.

E.g.

State 1: A true, B false, C False

State 2: A false, B True, C False

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!