Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 3a9e02876a
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (14 sloc) 0.489 kB
<?php
/**
* This is the ad Comment form.
*/
class Form_Comment extends Zend_Form {
public function init() {
$this->setMethod ( 'post' );
$this->addElement ( 'textarea', 'body', array ('label' => 'Your comment:',
'validators' => array (array ('StringLength', false, array (10, 1000 ) ) ), 'required' => false )
);
// add the submit button
$this->addElement ( 'submit', 'submit', array ('label' => 'Send' ) );
}
}
Jump to Line
Something went wrong with that request. Please try again.