// hdnUniqueID -- creates the HASH for the DB value unique_id
// hash equals user_id .company .first .last

$user =& JFactory::getUser();
$frm_userID = $user->id;
$frm_company = JRequest::getVar('ff_nm_txtCompany',array(''));
$frm_first = JRequest::getVar('ff_nm_txtFirstName',array(''));
$frm_last = JRequest::getVar('ff_nm_txtLastName',array(''));

$value = md5(strtolower($frm_userID .$frm_company[0] .$frm_first[0] .$frm_last[0]));