Previous Topic: %ValidValueNext Topic: %ValidationHasValidValues


%ValidValueDef

Returns the definition of a valid value.

Syntax

%ValidValueDef

Syntax Example

/* Where valid values are: COMEDY, HORROR, DRAMA, NEW RELEASE and CHILDREN, one definition could read: */

%ForEachValidation( ) {

%If(%ValidationHasValidValues (%ValidationName)) { %Validation Name has valid values:

%ForEachValidValue (%ValidationName)

{%ValidValue }

}

}

Expansion

A movie that is of interest to children.

Usage

Classified as a Constraint macro that you can use within the scope of a valid value.