Index: trunk/core/units/custom_fields/custom_fields_config.php =================================================================== diff -u -N -r1795 -r3999 --- trunk/core/units/custom_fields/custom_fields_config.php (.../custom_fields_config.php) (revision 1795) +++ trunk/core/units/custom_fields/custom_fields_config.php (.../custom_fields_config.php) (revision 3999) @@ -51,15 +51,16 @@ 'ItemSQLs' => Array( ''=>'SELECT * FROM %s', ), + 'SubItems' => Array('confs-cf'), 'Fields' => Array( 'CustomFieldId' => Array('type' => 'int','not_null' => '1','default' => ''), 'Type' => Array('type' => 'int','not_null' => '1','default' => '0'), 'FieldName' => Array('required'=>'1', 'type' => 'string','not_null' => 1,'default' => ''), - 'FieldLabel' => Array('type' => 'string','default' => ''), - 'Heading' => Array('type' => 'string','default' => ''), + 'FieldLabel' => Array('type' => 'string', 'required' => 1, 'default' => ''), + 'Heading' => Array('type' => 'string', 'required' => 1, 'default' => ''), 'Prompt' => Array('type' => 'string','default' => ''), - 'ElementType' => Array('required'=>'1', 'type'=>'string', 'not_null'=>1, 'default'=>'NULL', 'formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options'=>Array('' => 'la_EmptyValue', 'select' => 'la_type_select', 'label' => 'la_type_label', 'password' => 'la_type_password','radio' => 'la_type_radio', 'textarea' => 'la_type_textarea', 'text' => 'la_type_text')), + 'ElementType' => Array('required'=>'1', 'type'=>'string', 'not_null'=>1, 'default'=>'NULL', 'formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options'=>Array('' => 'la_EmptyValue', 'text' => 'la_type_text', 'select' => 'la_type_select', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_checkbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea', 'label' => 'la_type_label')), 'ValueList' => Array('type' => 'string','default' => ''), 'DisplayOrder' => Array('type' => 'int','not_null' => '1','default' => '0'), 'OnGeneralTab' => Array('type' => 'int','not_null' => '1','default' => '0'), @@ -77,7 +78,7 @@ ), ), - ), + ), ); ?> \ No newline at end of file