prepopulate agreement form with Sugarcrm MySql db