Итак: свойство типа S у меня.
так у меня объявлен селект.
$returnStr.="<select style='' id='hidden_select' multiple name='".$strHTMLControlName["VALUE"]."'>";
$returnStr.="</select><br>";
так в него по клику для примера добавляю значения(проверяю - они добавились и значения устнаовились)
$returnStr.="var hidden_select=document.getElementById('hidden_select');\r\n";
$returnStr.="hidden_select.options[0]=new Option('test1','123',true,true);\r\n";
$returnStr.="hidden_select.options[1]=new Option('test2','456',true,true);\r\n";
$returnStr.="hidden_select.options[2]=new Option('test3','789',true,true);\r\n";
дамп переменных в GetPropertyFieldHtml выглядит так:
v GETpropertyFieldHTML
------------------property--------------------
Array
(
[ID] => 168
[TIMESTAMP_X] => 2010-10-31 23:00:01
[IBLOCK_ID] => 13
[NAME] => asdfasdf
[ACTIVE] => Y
[SORT] => 500
[CODE] => eeeeee
[DEFAULT_VALUE] =>
[PROPERTY_TYPE] => S
[ROW_COUNT] => 1
[COL_COUNT] => 30
[LIST_TYPE] => L
[MULTIPLE] => N
[XML_ID] =>
[FILE_TYPE] =>
[MULTIPLE_CNT] => 5
[TMP_ID] =>
[LINK_IBLOCK_ID] => 8
[WITH_DESCRIPTION] => N
[SEARCHABLE] => N
[FILTRABLE] => N
[IS_REQUIRED] => N
[VERSION] => 1
[USER_TYPE] => rope
[USER_TYPE_SETTINGS] => Array
(
[NAME] => asdfasdf
[ACTIVE] => Y
[SORT] => 500
[DEFAULT_VALUE] =>
[CODE] => eeeeee
[ROW_COUNT] => 1
[COL_COUNT] => 30
[LINK_IBLOCK_ID] => 8
[WITH_DESCRIPTION] => N
[SEARCHABLE] => N
[FILTRABLE] => N
[MULTIPLE] => N
[MULTIPLE_CNT] => 5
[IS_REQUIRED] => N
[FILE_TYPE] =>
[LIST_TYPE] => L
[IBLOCK_ID] => 13
[USER_TYPE] => rope
[PROPERTY_TYPE] => S
[USER_TYPE_SETTINGS] =>
[VERSION] => 1
)
)
--------------------value--------------------
Array
(
[VALUE] => 275 432
)
---------------------str_html_control_name-------------------------
Array
(
[VALUE] => PROP[168][n0][VALUE]
[DESCRIPTION] => PROP[168][n0][DESCRIPTION]
[FORM_NAME] => form_element_13_form
[MODE] => FORM_FILL
)
нажимаю сохранить, делаю дамп всех массивов в ConvertToDB И exit перед return
выдает следующее:
v convertTODB
------------------property--------------------
Array
(
[ID] => 168
[TIMESTAMP_X] => 2010-10-31 23:00:01
[IBLOCK_ID] => 13
[NAME] => asdfasdf
[ACTIVE] => Y
[SORT] => 500
[CODE] => eeeeee
[DEFAULT_VALUE] =>
[PROPERTY_TYPE] => S
[ROW_COUNT] => 1
[COL_COUNT] => 30
[LIST_TYPE] => L
[MULTIPLE] => N
[XML_ID] =>
[FILE_TYPE] =>
[MULTIPLE_CNT] => 5
[TMP_ID] =>
[LINK_IBLOCK_ID] => 8
[WITH_DESCRIPTION] => N
[SEARCHABLE] => N
[FILTRABLE] => N
[IS_REQUIRED] => N
[VERSION] => 1
[USER_TYPE] => rope
[USER_TYPE_SETTINGS] => Array
(
[NAME] => asdfasdf
[ACTIVE] => Y
[SORT] => 500
[DEFAULT_VALUE] =>
[CODE] => eeeeee
[ROW_COUNT] => 1
[COL_COUNT] => 30
[LINK_IBLOCK_ID] => 8
[WITH_DESCRIPTION] => N
[SEARCHABLE] => N
[FILTRABLE] => N
[MULTIPLE] => N
[MULTIPLE_CNT] => 5
[IS_REQUIRED] => N
[FILE_TYPE] =>
[LIST_TYPE] => L
[IBLOCK_ID] => 13
[USER_TYPE] => rope
[PROPERTY_TYPE] => S
[USER_TYPE_SETTINGS] =>
[VERSION] => 1
)
)
--------------------value--------------------
Array
(
[VALUE] => 789
)
приходит только одно значение..