$STOP_ON_VALERR

Stop the Uniface validation process immediately after an error occurs.

$STOP_ON_VALERR

Defaults

Assignment file:

client assignment files, usys.asn

Section: [SETTINGS]
Default value: None

Description

Uniface's default validation behavior fires a field's validate trigger when it encounters a validation ProcScript statement, (such as validate), even if implicit validation such as a field syntax check has already resulted in an error. This is usually undesirable, so to correct this situation, use the $STOP_ON_VALERR assignment.

However, there may be situations in web applications where the validation of the first occurrence fails but validation of other occurrences needs to continue so that all validation errors can be reported at the end of an client-server interaction. If this type of situation is expected, do not set the $STOP_ON_VALERR setting.

By default, this setting is not present to ensure compatibility with previous versions of Uniface.

$STOP_ON_VALERR

[SETTINGS]
$STOP_ON_VALERR

Related Topics