Dependent visibility based on multiple fields selection

Hello, can you please help me with a dependency formula visibility.

I would like a field to show only if two other fields are selected. In other words, if the user selects both fields the dependent field will show. This is what I am trying with no success.

and(equal($note_type_c,"account profile"),(equal($division_product_c,"toothpaste")))

  • Hi  ,

    In terms of syntax, the only error I see is that you have a parantheses around your second equal() formula. Your dependency formula should look like this:

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    and(
    equal(
    $note_type_c,
    "account profile"
    ),
    equal(
    $division_product_c,
    "toothpaste"
    )
    )
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    If the field is still not showing as expected after making that change, you will want to check how note_type_c and division_product_c are used. I am assuming both of these fields are dropdowns, and if that is accurate, you will want to check the corresponding dropdown lists associated with those fields to ensure 'account profile' and 'toothpaste' are the database values (dropdown key) you have configured. Sugar Logic is case sensitive, so be sure it exactly matches the database values you have set up in each dropdown list.

    Chris