RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomAdapter.OnBeforeValidateFields Event

Occurs before values in the HTTP request are validated by the adapter's fields.

Pascal
property OnBeforeValidateFields: TActionRequestFieldsHandledEvent;
C++
__property TActionRequestFieldsHandledEvent OnBeforeValidateFields;

Implement this event handler to perform custom validation of the HTTP request. The AdapterFields parameter lists all of the adapter fields that have corresponding values in the HTTP request. Set the Handled flag to prevent any further validation. Add validation errors to the adapter's errors object. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!