Have some troubles, with Hidden Input Fields

Hello senior developer’s, i have some array
view:“list”,
id:“list”,

            template:"#fullname#</a>", 
            select: "multiselect",
            url: "server/datatable.php",
			on:{
								        onSelectChange:function(){
											var arr = $$('list').getSelectedItem(true);
											console.log(arr);
											var newHTML = "";
											var text = "";
											$$('form2').setValues( { refer2: arr[0]["_id"]} );

but when i select many documents array not sent all data, only 1 items, help please.

MY datatable.php

try{
$mongoClient = new MongoClient;
$collOrganizations = $mongoClient->lib->organizations;
} catch (MongoConnectionException $e) {
die('Failed to connect to MongoDB '.$e->getMessage());
}
$cursor = $collOrganizations->find(array(), $fields=array(‘fullname’,‘saved_at’,‘referrer’,‘city’));

$data = array();
foreach($cursor as $value)
{
$data[] = array(
‘_id’ => (string)$value[’_id’],
‘fullname’ => $value[‘fullname’],
‘city’ => $value[‘city’],
‘votes’ => count($value[‘referrer’]),
‘saved_at’ => date(‘d.m.Y’, $value[‘saved_at’]->sec)
);
}
$totalRecords = $cursor->count();
echo json_encode($data);
?>

Hello,

Could you explain the problem in detail ? You mentioed hidden inputs in the title and the sample code is about list…

all fine thanks, i have another question, in this page http://docs.webix.com/datatable__export.html - have some archive links/ but not download , fix it ?

Hi,

We will update links in several days.

say about this, when you make it.

All links fixed.
Sorry for inconvenience.