Show If with multiple expressions

Hi
New to Appsheet so apologies if this is really simple to everyone else.

I have a form that I show the next field to a user based on the selection of the previous field, so often Enum options etc

I have a field (FIELD A for this example) that actually needs multiple expressions I think as it has to be displayed from a couple of other fields (that probably makes no sense)

Here is my show_if statement:

AND([contractortype]=โ€œMaintenance Tโ€, [quotetype]=โ€œManual Quoteโ€)

great! that works, Field A is displayed when โ€˜Maintenance Tโ€™ and โ€˜Manual Quoteโ€™ options are selected

but I also need to add

ISNOTBLANK ([tradeuser])

I donโ€™t know how to write that expression, I can make either expression work alone but not when together

Is there a simple way to make both expressions work together?

As a beginner I thought I could just literally do this:

AND([contractortype]=โ€œMaintenance Tโ€, [quotetype]=โ€œManual Quoteโ€)
ISNOTBLANK ([tradeuser])

Be grateful for any advice

0 2 372
2 REPLIES 2

Steve
Platinum 4
Platinum 4

Iโ€™m not clear exactly what you want. It sounds like:

OR(
  AND(
    [contractortype]=โ€œMaintenance Tโ€,
    [quotetype]=โ€œManual Quoteโ€
  ),
  ISNOTBLANK([tradeuser])
)

Steve

That worked perfectly, exactly what I wanted. Iโ€™ve spent hours trying to make that work, now I will try and learn the logic in that expression.

Thanks so much, fantastic support.

Top Labels in this Space