Thursday, March 25, 2010

Re: form helper ESCAPING quotes character values?? a bug?

escape should not be true but FALSE in this case

On 25 Mrz., 08:41, "toka...@gmail.com" <toka...@gmail.com> wrote:
> Hi,
> How can I escape double quotes when using form helper? Imagine we have
> this value with double quotes stored in database: 15" - 16"
>
> How can I render a correct HTML select box? ..now it does this mess !!
>
> <select>
>     <option 16="" -="" value="15">15" - 16"</option>
> </select>
>
> is it a bug?? is there any workaround?
>
> PS1: escape => true is not helping with quotes..
>
> PS2:
> This article tell about something similar, but I'd like to use cake's
> helper...http://www.primitivetype.com/articles/quotes_inputs.php
>
> Thanks
> Tomas

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: