Configure some fields as required
authorJoey Schulze <joey@infodrom.org>
Sun, 28 Feb 2010 17:01:10 +0000 (18:01 +0100)
committerJoey Schulze <joey@infodrom.org>
Sun, 28 Feb 2010 17:01:10 +0000 (18:01 +0100)
masks/anbaugeraete.php
masks/arbeitsarten.php
masks/gebiet.php
masks/geraete.php
masks/kostenstellen.php
masks/materialien.php
masks/personal.php

index 3f6b2ea..330fbf8 100644 (file)
@@ -38,12 +38,14 @@ $mask = array(
                              'anbaugeraet' => array(
                                            'name' => 'Anbaugerät',
                                            'type' => 'text',
-                                           'size' => 25,
+                                           'size' => 24,
+                                           'required' => true,
                                            ),
                              'anbgerstdsatz' => array(
                                            'name' => 'Stundensatz',
                                            'type' => 'decimal',
                                            'size' => 15,
+                                           'required' => true,
                                            ),
                              ),
              );
index 48a127c..259de2f 100644 (file)
@@ -18,7 +18,8 @@ $mask = array(
                              'arbeitsart' => array(
                                            'name' => 'Arbeitsart',
                                            'type' => 'text',
-                                           'size' => 25,
+                                           'size' => 24,
+                                           'required' => true,
                                            ),
                              ),
              );
index f53293e..deb01e9 100644 (file)
@@ -19,7 +19,8 @@ $mask = array(
                              'gebiet' => array(
                                            'name' => 'Gebiet',
                                            'type' => 'text',
-                                           'size' => 25,
+                                           'size' => 24,
+                                           'required' => true,
                                            ),
                              ),
              );
index a31a667..79bb815 100644 (file)
@@ -39,12 +39,14 @@ $mask = array(
                              'geraet' => array(
                                            'name' => 'Gerät',
                                            'type' => 'text',
-                                           'size' => 25,
+                                           'size' => 24,
+                                           'required' => true,
                                            ),
                              'gerstdsatz' => array(
                                            'name' => 'Stundensatz',
                                            'type' => 'decimal',
                                            'size' => 15,
+                                           'required' => true,
                                            ),
                              ),
              );
index 9b6d132..67cefd7 100644 (file)
@@ -48,6 +48,7 @@ $mask = array(
                                            'name' => 'Kostenstelle',
                                            'type' => 'text',
                                            'size' => 25,
+                                           'required' => true,
                                            ),
                              'gebiet' => array(
                                            'name' => 'Gebiet',
@@ -58,6 +59,7 @@ $mask = array(
                                            'name' => 'Länge',
                                            'type' => 'decimal',
                                            'width' => 65,
+                                           'required' => true,
                                            ),
                              ),
              );
index 88817fc..ea845ee 100644 (file)
@@ -33,7 +33,8 @@ $mask = array(
                              'material' => array(
                                            'name' => 'Material',
                                            'type' => 'text',
-                                           'size' => 50,
+                                           'size' => 24,
+                                           'required' => true,
                                            ),
                              'einheit' => array(
                                            'name' => 'Einheit',
index c10d890..e27d6b1 100644 (file)
@@ -89,16 +89,19 @@ $mask = array(
                                            'name' => 'Name',
                                            'type' => 'text',
                                            'size' => 24,
+                                           'required' => true,
                                            ),
                              'vorname' => array(
                                            'name' => 'Vorname',
                                            'type' => 'text',
                                            'size' => 24,
+                                           'required' => true,
                                            ),
                              'anschrift' => array(
                                            'name' => 'Anschrift',
                                            'type' => 'text',
                                            'size' => 24,
+                                           'required' => true,
                                            ),
                              'plz' => array(
                                            'name' => 'PLZ',
@@ -128,6 +131,7 @@ $mask = array(
                                            'name' => 'Jahresakkord',
                                            'type' => 'decimal',
                                            'size' => 10,
+                                           'required' => true,
                                            ),
                              ),
              'rows' => 20,