Index: branches/RC/core/units/form_fields/form_fields_config.php =================================================================== diff -u -N -r11892 -r11906 --- branches/RC/core/units/form_fields/form_fields_config.php (.../form_fields_config.php) (revision 11892) +++ branches/RC/core/units/form_fields/form_fields_config.php (.../form_fields_config.php) (revision 11906) @@ -1,6 +1,6 @@ Array( 'FormFieldId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), - 'FormId' => Array('type' => 'int','not_null' => 1, 'default' => 0), - 'Type' => Array('type' => 'int','not_null' => 1, 'default' => 0), - 'FieldName' => Array('required'=>'1', 'type' => 'string','not_null' => 1,'default' => ''), + 'FormId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), + 'Type' => Array('type' => 'int', 'not_null' => 1, 'default' => 0), + 'FieldName' => Array('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''), 'FieldLabel' => Array('type' => 'string', 'required' => 1, 'default' => null), 'Heading' => Array('type' => 'string', 'default' => null), - 'Prompt' => Array('type' => 'string','default' => null,'required'=>1), - 'ElementType' => Array('required'=>'1', 'type'=>'string', 'not_null'=>1, 'default'=>'', 'formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options'=>Array('' => 'la_EmptyValue', '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')), + 'Prompt' => Array('type' => 'string', 'default' => null, 'required' => 1), + 'ElementType' => Array('required'=>'1', 'type'=>'string', 'not_null '=> 1, 'default'=>'', 'formatter'=>'kOptionsFormatter', 'use_phrases' => 1, 'options'=>Array('' => 'la_EmptyValue', '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')), 'ValueList' => Array('type' => 'string','default' => null), 'Priority' => Array('type' => 'int','not_null' => 1, 'default' => 0), 'IsSystem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), 'Required' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), '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','not_null' => 1, 'default' => ''), + 'DefaultValue' => Array('type' => 'string', 'not_null' => 1, 'default' => ''), 'Validation' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_None', 1 => 'la_ValidationEmail'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), ),