We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b67678c commit 4562888Copy full SHA for 4562888
interface/web/client/form/client_template.tform.php
@@ -635,6 +635,23 @@
635
'value' => array(''),
636
'name' => 'default_dnsserver'
637
),*/
638
+ 'dns_servers' => array (
639
+ 'datatype' => 'VARCHAR',
640
+ 'formtype' => 'MULTIPLE',
641
+ 'separator' => ',',
642
+ 'default' => '1',
643
+ 'datasource' => array ( 'type' => 'CUSTOM',
644
+ 'class'=> 'custom_datasource',
645
+ 'function'=> 'client_servers'
646
+ ),
647
+ 'validators' => array ( 0 => array ( 'type' => 'CUSTOM',
648
+ 'class' => 'validate_client',
649
+ 'function' => 'check_used_servers',
650
+ 'errmsg'=> 'dns_servers_used'),
651
652
+ 'value' => '',
653
+ 'name' => 'dns_servers'
654
655
'limit_dns_zone' => array (
656
'datatype' => 'INTEGER',
657
'formtype' => 'TEXT',
0 commit comments