Display a random error message when invalid value is entered

Invalid Error Messages USUALLY tell the user Why the data is wrong, or suggest a correct input.

This Tip is more fun, than functional.

It could be used to add character to your app, or maybe even in creating a turn-based game (dice role).

Using the Columnโ€™s Invalid value error setting, enter a SWITCH() expression with RANDBETWEEN() to select the random error phrase.

SWITCH(RANDBETWEEN(0,9),
0,"You're not even trying. ๐Ÿ˜ข",
1,"You can do better than that.",
2,"Is that your final answer?",
3,"PEBKAC Error โŒจ๏ธ๐Ÿ™ƒ๐Ÿช‘",
5,"โญ•๏ธ I'm sorry, Dave. I'm afraid I can't do that.",
6,"Here we go again! ๐Ÿคฆ",
7,"INCORRECT!! ONE TRY REMAINING!!",
8,"Yeah, uh... I don't think that's gonna work.",
9,"1010-BEEP-โšก๏ธ-GLRORK-RABLE-RABLE-CHUCHUNK-ZZZZZZZ",
"Default Response")

3X_2_6_26f5fd4eceafe01a5b283e5938960e040a6f43f8.png


IF the column has any kind of validation or expected format AND the input does not match, one of the values will be randomly selected and displayed.

NOTE: In this example, the Valid_If expression ensures the value is unique.
The value entered is unique, but still failing validation because the TYPE is set to Number, and the input is Text.

Invalid Type OR Value will trigger the error message.

10 3 1,638
3 REPLIES 3

Youโ€™re right, that is fun!

LINKTOFORM(โ€œViewโ€, โ€œColumnโ€ RANDBETWEEN() ) could be a dice-roll.

I think we could build a turn-based game. I just donโ€™t know which game to try.

u crae. why would you do this to poor end users? Lolz I love it. (Just saw this postโ€ฆ)

Top Labels in this Space