If you mean "escaping to HTML entities", just override the automatic
value:
$form->input('nacionalitat', array('value' => html_entities($this-
>data['User']['nacionalitat'])));
I don't think there's an escape function built into the form helper,
but I could be wrong.
On 27 May 2008, at 18:22, leo wrote:
>
> Is there a way to do this, yet?
>
> I have tried:
> echo $form->input('nacionalitat', array('escape'=>false,'options'=>
> $nacionalitats ));
>
> Doesn't work, though.
>
> L
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---