{foreach from=$field_errors item=error key=field_caption} {if $error eq 'EMPTY_VALUE'}
'[[FormFieldCaptions!{$field_caption}]]' [[is empty]]
{elseif $error eq 'NOT_UNIQUE_VALUE'}'{$field_caption}' [[this value is already used in the system]]
{elseif $error eq 'NOT_CONFIRMED'}'{$field_caption}' [[not confirmed]]
{elseif $error eq 'DATA_LENGTH_IS_EXCEEDED'}'{$field_caption}' [[length is exceeded]]
{elseif $error eq 'NOT_INT_VALUE'}'{$field_caption}' [[is not an integer value]]
{elseif $error eq 'OUT_OF_RANGE'}'{$field_caption}' [[value is out of range]]
{elseif $error eq 'NOT_FLOAT_VALUE'}'{$field_caption}' [[is not an float value]]
{elseif $error eq 'LOCATION_NOT_EXISTS'}'[[FormFieldCaptions!{$field_caption}]]' [[is unknown]]
{elseif $error eq 'NOT_VALID_ID_VALUE'}'{$field_caption}' [[is not valid]]
{elseif $error eq 'NOT_SUPPORTED_VIDEO_FORMAT'}'{$field_caption}' [[this file is not in a supported video file format]]
{elseif $error eq 'MAX_FILE_SIZE_EXCEEDED'}'{$field_caption}' [[filesize exceeds the quota]]
{else} {$error} {/if} {/foreach}