AI OnAI Off
private void myForm_BeforeReadingPostedData(object sender, SaveFormDataEventArgs e)
{
ArrayList _controls = myForm.ExtractXFormControls();
foreach (XFormControlBase _control in _controls)
{
if (_control.Reference != null && _control.Reference.ToLower() == "email")
{
bool _valid = _control.IsValidInput();
_control.DisplayRequiredMessage = !_valid;
}
}
}