Error messages

If you add a message parameter in a validation function, a message appears if the result is false.

You can add the message parameter anywhere in the list of function parameters. A message can have up to 2000 characters. If the message is longer than 2000 characters, the message is trimmed to 2000.

You can also include parameters in your message by using ${<asset property>}. For more information on asset properties, go to Asset model.

Note Message parameters entered in the when clause won't be considered.