I have a Select box full of Account names that I retrieve from my CRM with a SOAP call. I send JUST the names to my view when I use the cakePHP FormHelper to create my form. The only issue I'm having is although the select populates properly it sends back the index I've chosen and not the text like i'd like.
echo $this->Form->create();
echo $this->Form->input('name');
echo $this->Form->input('email');
echo $this->Form->input('account');
echo $this->Form->input('message');
echo $this->Form->end(__('Submit'));
echo $this->Form->end();
So does anyone know how to submit the selected value of account and not the ID? Thank you in advance.