Skip to content

Commit 5c67f75

Browse files
author
xaver
committed
Added template validation ssh_chroot -> requierd by clients task#1989
1 parent f9b8d0a commit 5c67f75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

interface/web/client/form/client_template.tform.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,12 @@
392392
'ssh_chroot' => array (
393393
'datatype' => 'VARCHAR',
394394
'formtype' => 'CHECKBOXARRAY',
395+
'validators' => array (
396+
0 => array (
397+
'type'=> 'NOTEMPTY',
398+
'errmsg'=> 'ssh_chroot_notempty'
399+
),
400+
),
395401
'default' => '',
396402
'separator' => ',',
397403
'valuelimit' => 'client:ssh_chroot',

0 commit comments

Comments
 (0)