Thanks for your answers.
It appears that the problem occures with special characters and
accents.
But I don't know how to solve that.
Any idea ?
Thanks.
Ed
On 13 fév, 11:00, grigri wrote:
> Hi Ed,
>
> Some browser (eg FF) may override the contents of the form fields on
> page load.
>
> Check the generated source code and see if the `value` attribute is
> correctly and consitstently filled. It it is, then your cake code is
> fine. You can force the browser to use the values you specified by
> calling `form.reset()` through javascript when the page is loaded.
>
> If, on the other hand, the html code is not consistent then you'll
> have to look more carefully at the cake code. Form field data is not
> kept through a redirect, for example, so if you redirect on an error
> then you can't expect the data to be transmitted without extra work
> (sessions).
>
> hth
> grigri
>
> On Feb 13, 12:09 pm, netedo wrote:
>
> > Hello,
> > Here my strange problem :
> > I have got o simple form with one table.
> > The add works well, like the view mode. That means, data is saved
> > directly.
>
> > But in the edit mode, sometimes, a field appears blank.
> > Other times all fields appear with the right data.
>
> > I can't understand... and I tested in local and in an hosting, the
> > same behavior occurs.
>
> > Many thanks.
>
> > Ed
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---