I had a problem where the field would not show the currency symbols in a dropdown / select box. It showed the actual € and £ instead of showing me the actual currency signs.
The way to get around cake escaping your variables is here:
If this is your input field
$form->input('Enquiry.currency_code',array('options'=>$currency_options));
all you have to do is add this
$form->input('Enquiry.currency_code',array('options'=>$currency_options,'escape'=>false));
:) That's it let me know if you find any other issues.
By PHPin24 @ 2009-07-07 08:35:48
|