Maybe is a simple question but, in my form, I not able to set the "selected" value, in my SELECT element: The following is my code:
CRM_Financial_BAO_FinancialType::getAvailableFinancialTypes($financialTypes, 3);
$this->add('select', 'financial_type', ts('Financial Type'), $financialTypes, 'TRUE');