Skip to content

Commit 63e5548

Browse files
bicisteadmTill Brehm
authored andcommitted
Setting the language as a required field when creating a client
1 parent 16b9620 commit 63e5548

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@
224224
'language' => array (
225225
'datatype' => 'VARCHAR',
226226
'formtype' => 'SELECT',
227+
'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
228+
'errmsg'=> 'language_error_empty'),
229+
),
227230
'default' => $conf["language"],
228231
'value' => $language_list,
229232
'separator' => '',

0 commit comments

Comments
 (0)