The Portrate Interview Engine

SingleColumnFormValidator.Validate Method 

Runs validation on each of the controls in the form and returns a map of the control instance to a list of errors reported for the control.

[Visual Basic]
Public Function Validate( _ 
   ByVal ctx As DataContext _ 
) _
    Implements IDPLFormValidator.Validate As Hashtable
[C#]
public Hashtable Validate(
   DataContext ctx
);
[C++]
public: Hashtable* Validate(
   DataContext* ctx
);
[JScript]
public function Validate(
   DataContext ctx
): Hashtable;

Parameters

ctx
The current data context

Return Value

A hashtable of [IDPLControl]=>[ArrayList{string}]

Implements

IDPLFormValidator.Validate

See Also

SingleColumnFormValidator Class | Portrate.Interview.Model.Validation Namespace