diff --git a/interface/web/dns/form/dns_soa.tform.php b/interface/web/dns/form/dns_soa.tform.php index 00c2aacebe09d5caa27d5bf5207aaa290f6ce09e..4481d5aa47ad3582cc9481ef24272e343397aa02 100644 --- a/interface/web/dns/form/dns_soa.tform.php +++ b/interface/web/dns/form/dns_soa.tform.php @@ -225,10 +225,14 @@ $form["tabs"]['dns_soa'] = array ( 'also_notify' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', -// 'validators' => array ( 0 => array ( 'type' => 'ISIPV4', + 'validators' => array ( 0 => array ( 'type' => 'REGEX', + 'regex' => '/^(((25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1?[0-9]{1,2})(;){0,1}(\ ){0,1}){0,10}$/', + 'errmsg'=> 'also_notify_error_regex' + ), +// 0 => array ( 'type' => 'ISIPV4', // 'errmsg'=> 'also_notify_error_regex' // ), -// ), + ), 'default' => '', 'value' => '', 'width' => '30',