http://www.dereuromark.de/2010/06/23/working-with-forms/

paragraph
"Default Values – hidden!" or "Disallowing some fields to be edited"

cheers
mark


so simply pass the record along to the view and echo it (without any
form)


On 11 Mrz., 12:46, AD7six <[email protected]> wrote:
> On Mar 11, 12:44 pm, AD7six <[email protected]> wrote:
>
> > On Mar 11, 9:54 am, Stephen <[email protected]> wrote:
>
> > > Hi
>
> > > I want to set an input box to be readonly, this is to prevent users from
> > > editing the field, the data needs to be posted so disabled is not an 
> > > option.
>
> ps readonly is simply another attribute - i.e. you just add it if that
> really is what you want.
>
> AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to