Uneditable Fields in edit form

When using active scaffold, Is there a way to display form fields as uneditable in edit form? Thanks a lot..

Sounds like a question for the ActiveScaffold forum: http://groups.google.com/group/activescaffold

BTW, if I recall, you can do form overrides to define additional details for form bits... so you can override that particular form element and set it to be disabled.

-Danimal

just using the scaffolded code u cant achieve this..

U can add disabled attribute to yr code once scaffold is done.. then u can achieve this,

Regards, Ratnavel.

like :disabled => !new_record?

sorry like this :disabled => !object.new_record?

thanks for all the replies.. i'll try to use your suggestions. :slight_smile: