Consultor Eletrônico



Kbase P73021: Validation doesn't fire for editor widget.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/21/2010
Status: Unverified

SYMPTOM(s):

Validation doesn't fire for editor widget.

The editor is a database field with Data Dictionary validation.

The frame on which the editor is placed has the following attributes:
NO-AUTO-VALIDATION = NO
NO-VALIDATE = NO
Use-Dict-Exps = YES

FIX:

You can force the validation using the Validate method for editor-widget or frame-widget:

So if your field is called customer.address then you can use:
customer.address:Validate() in frame {&frame-name}.
OR
frame {&frame-name}:Validate(). /* this will validate all the fields */
OR
frame {&frame-name}:Validate('ENABLED-FIELDS'). /* this will validate all ENABLED fields */