0

I am using below formula to enable/disable drop down. Formula appears to be correct but only works on the first condition.

I need all conditions to apply to enable dropdown. Any ideas? Thanks.

If(Dropdown1_3.Selected.Value = "OK"|| Dropdown1_4.Selected.Value = "OK"|| Dropdown1_5.Selected.Value = "OK",  DisplayMode.Edit, DisplayMode.Disabled ) 

1 Answer 1

1

If you want to enable drop down only when all conditions met, use below formula:

If(
    Dropdown1_3.Selected.Value = "OK" &&
    Dropdown1_4.Selected.Value = "OK" &&
    Dropdown1_5.Selected.Value = "OK",
    DisplayMode.Edit,
    DisplayMode.Disabled
) 

OR:

If(
    And(
        Dropdown1_3.Selected.Value = "OK",
        Dropdown1_4.Selected.Value = "OK",
        Dropdown1_5.Selected.Value = "OK"
    ),
    DisplayMode.Edit,
    DisplayMode.Disabled
) 
1
  • 1
    Ganesh, this is magic! Thank you very much!
    – Jose1978
    Mar 30, 2023 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.