Following a Zend tutorial from a book I have created a Base Form and subclassed it twice – once for Edit, once for Create. How should I go about creating a View only version?
All the View details are the same as the Edit version, but I don’t want users to be able to edit any fields.
As a related question – there is one field in the Edit version that I don’t want users to be able to edit. What’s the best way to achieve this? Is javascript the answer?
To have a ‘view only’ form, I have subclassed the Edit form, and included the following code: