Conditional transaction fields – Example 2

The following appears on a form:

Yes, please send this month’s bonus:

Wallet

Pen

Mirror

Assume that the field names (from left to right) are Wallet, Pen and Mirror. If, in addition to the field values, you want the records to contain Yes if at least one of the fields is filled in or No if none of the fields are filled in, the transaction description might look like this:

images\ebx_-1058699331.gif

0 + 1 + 0 = 1 (true)

The condition is met and Yes is transferred.

Inserting conditional transaction fields into a transaction description

Conditional transaction fields – Examples of expressions

Conditional transaction fields – Example 1