public function replyToValidateForm($aInput, $aOldInput, $oFactory, $aSubmitInfo)
{
// Local variables
$_bIsValid = true;
$_aErrors = array();
if (!$aInput[$this->_sSectionID]['allow_sending_system_information']) {
$_bIsValid = false;
$_aErrors[$this->_sSectionID]['allow_sending_system_information'] = __('We need necessary information to help you.', 'admin-page-framework-loader');
}
if (!$_bIsValid) {
$oFactory->setFieldErrors($_aErrors);
$oFactory->setSettingNotice(__('Please help us to help you.', 'admin-page-framework-loader'));
return $aOldInput;
}
// Otherwise, process the data.
return $aInput;
}