$form_data = array(
'formid' => 'agents_form',
'report' => 'agents_form',
'tpl' => 'agents_form',
'type' => 'edit',
'id' => $row['id'],
'title' => $row['title'],
'address' => $row['address'],
'requisites' => $row['requisites']
);
echo $modx->runSnippet('eForm',$form_data);