I am looking for a best practice for the following.
I have a driver-based model where the user selects a driver from a list of possible options. The user requirement is to use a check box to make the selection. The module displays the options, the check boxes, and the result.
I am looking for a better way to arrive at the result line item. Currently we use a nested if statement on the result line item. i.e. if box 1 then option 1 else if box 2 then option 2 else if box 3 then option 3 and so on.