Valid if condition with 2 customized error messages?

Hi

I have a Valid_If condition.

Is it possible to have 2 different error messages from this 1 valid_if condition?

eg:
Valid_If: (valid expression)
Error message: if(NOT(valid expression), “do this”, “do that”)

Hello @zachery.lin, yes, it is perfectly possible, and your example is one of the ways it could be done.

You could use IF, IFS, or SWITCH for this.

3 Likes

hmmm…then my valid_if condition is not workable as I thought…tks

Note that the error message displays only if the Valid If expression evaluates as FALSE.

1 Like