I'm trying to use the ignore option for the submit and reset elements in my
Zend_Form to ignore the values when I retrieve the form data. I'm using a
config file based on Zend_Config_Xml.
<submit>
<type>submit</type>
<name>Submit</name>
<options>
<ignore>true</ignore>
<DisableLoadDefaultDecorators>true</DisableLoadDefaultDecorators>
<class>button</class>
<decorators>
<element>
<decorator>ViewHelper</decorator>
</element>
</decorators>
</options>
</submit>
The submit and reset values are still retrieved when I use
$form->getValues(). Am I doing anything wrong here?
Regards, TJ.
--
View this message in context: http://www.nabble.com/Zend_Form-ignore-option%2C-ignored-when-using-Zend_Config_Xml--tp18816577p18816577.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论