I find this on:
http://framework.zend.com/manual/en/zend.form.forms.html#zend.form.forms.validation
http://framework.zend.com/manual/en/zend.form.forms.html#zend.form.forms.validation
Sometimes you may need to validate only a subset of the data; for this, use
isValidPartial($data):
<?php
if (!$form->isValidPartial($data))
{
// failed validation
}
?>
isValidPartial() only attempts to validate those items in the data for which
there are matching elements; if an element is not represented in the data,
it is skipped.
But, or i don't understand, or i am stupid. I don't know how i can use
this????
--
View this message in context:
http://www.nabble.com/How-to-validate-just-one-element-of-form--tp16721005p16721009.html
Sent from the Zend Framework mailing list archive at Nabble.com.