<div class="componentheading">Edit Notes</div>
<?php
$db =& JFactory::getDBO();
$id = JRequest::getInt('id');
$notes = JRequest::getVar('notes');

$member = new stdClass;
$member->cf_id = $id;
$member->notes = $notes;

$done = $db->updateObject('#__chronoforms_Memberform', $member, 'cf_id');

if ($done)
echo 'Notes saved successfully';
else
echo 'Could not save notes. Please try again';
?>