[Public Service Announcement] FUNCTION NAMES must be uppercase

Reminder: Random(10) is text; RANDOM(10) is a number.

As I just wasted 1/2 hour figuring out.

3 Likes

Yes, all function names are uppercase to avoid conflicting with variable names.

This is assuming you are in a numeric field, in which case Random(10) would be invalid (the “(10)” would light up red as you cannot put that after a variable name).

I was in a text field – Display Text Briefly for debugging purposes.

Functions wont work at all in a text field, not unless they are within a %Calculate% token anyway. And in there, then yes, the editor cannot help you with reporting errors.

Should have mentioned that I was using Calculate.