Index: branches/5.2.x/core/units/forms/form_fields/form_fields_config.php =================================================================== diff -u -N -r14585 -r14614 --- branches/5.2.x/core/units/forms/form_fields/form_fields_config.php (.../form_fields_config.php) (revision 14585) +++ branches/5.2.x/core/units/forms/form_fields/form_fields_config.php (.../form_fields_config.php) (revision 14614) @@ -1,6 +1,6 @@ Array('type' => 'string', 'default' => null, 'required' => 1), 'ElementType' => Array( 'type' => 'string', - 'formatter' => 'kOptionsFormatter', 'options' => Array ('text' => 'la_type_text', 'select' => 'la_type_select', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_SingleCheckbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea', 'label' => 'la_type_label'), 'use_phrases' => 1, + 'formatter' => 'kOptionsFormatter', 'options' => Array ('text' => 'la_type_text', 'select' => 'la_type_select', 'radio' => 'la_type_radio', 'checkbox' => 'la_type_SingleCheckbox', 'password' => 'la_type_password', 'textarea' => 'la_type_textarea', 'upload' => 'la_type_upload', 'label' => 'la_type_label'), 'use_phrases' => 1, 'required' => 1, 'not_null' => 1, 'default' => '', ), 'ValueList' => Array('type' => 'string','default' => null), @@ -77,6 +77,8 @@ 'DisplayInGrid' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), 'DefaultValue' => Array('type' => 'string', 'default' => NULL), 'Validation' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_None', 1 => 'la_ValidationEmail'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), + 'UploadExtensions' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), + 'UploadMaxSize' => Array ('type' => 'int', 'default' => NULL), 'Visibility' => Array ( 'type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_opt_Everyone', 2 => 'la_opt_GuestsOnly'), 'use_phrases' => 1,