Index: branches/RC/core/units/custom_data/custom_data_event_handler.php =================================================================== diff -u -N -r10856 -r11600 --- branches/RC/core/units/custom_data/custom_data_event_handler.php (.../custom_data_event_handler.php) (revision 10856) +++ branches/RC/core/units/custom_data/custom_data_event_handler.php (.../custom_data_event_handler.php) (revision 11600) @@ -112,6 +112,10 @@ $custom_name = $custom_params['FieldName']; $field_options = Array('type' => 'string', 'not_null' => 1, 'default' => $custom_params['DefaultValue']); + if ($custom_params['IsRequired']) { + $field_options['required'] = 1; + } + switch ($custom_params['ElementType']) { case 'date': case 'datetime':