<?php
class Form_Audience extends Zend_Form_SubForm
{
public function init()
{
$this->setMethod('post');
$this->setLegend('Audience Details');
$this->addElement('text', 'audience_total', array(
'label' => 'Audience Total :',
'required' => true,
'filters' => array('Digits'),
'size' => 15,
'validators' => array(
'Digits',
)
));
.... remaining code .....
请帮助修改上述代码以应用 GreaterThan 验证。
谢谢