[fw-general] last insert id clarification

2009-01-16 Thread buttie
Hi There The manual suggests that you should not rely on the result of insert() method for last inserted id: "13.1.4.2. Retrieving a Generated Value Some RDBMS brands support auto-incrementing primary keys. A table defined this way generates a primary key value automatically during an INSERT of

[fw-general] Zend_Form_Element_File and custom error messages

2008-12-16 Thread buttie
Hi All I have got used to using the custom error messages with form elements e.g. $this->addElement('text', 'name', array('label' => 'Name', 'errormessages' => array('Please make an entry for name'),

[fw-general] displaying individual elements of form in view

2008-08-21 Thread buttie
Hi I have created a form in the standard way using Zend_Form $form->setMethod('post') ->setAttrib('id', 'new_user') ->setDecorators(array('FormElements','Form')) etc To display this in the view it is as simple as $this->form However I wish to just d