Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel1

Example: Reject duplicated file names in attachments

How to configure a validation for rejecting attachments with repeated file names?

Use Boolean validator with math, date-time or text-string terms with the following configuration:

Image RemovedImage Added

Boolean expression is: count(toStringList(%{00071})) = count(distinct(toStringList(%{00071})))


Note that:

  • %{00071} is field code for "Attachments"


Other examples of that function

Incoming Links
pageBoolean condition and validator with math, date-time or text-string terms
labelsexample

Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "validator"