So, I found a lot of answers to make this work, but they all seemed to restructure the form, which would be built differently, but I found that setting up the object in the work is best, so I decided that I would post my solution, if anyone wins the question again.
Here is my code in the controller.
$dbController = $this->get('database_controller');
$user_id = $dbController->getUserIdByHash($hash);
$reward = $dbController->getRewardByUserId($user_id);
$rewardChoice = $this->createFormBuilder($reward)
->add('reward_name', 'entity', array(
'class' => 'FuelFormBundle:Reward',
'property' => 'reward_name',
'data' => $reward,
'query_builder' => function(EntityRepository $er){
return $er->createQueryBuilder('r')
->where('r.active = 1')
->groupBy('r.reward_id')
->orderBy('r.reward_name', 'DESC');
},
))
->getForm();
, . , .