Zend form validation
问题 I am using Zend Form to create dynamic form. I have Zend Form validation too. Trying to remove Validation dynamically, but not getting any success. Can you plz help me to remove Zend Validation. Bellow is my code for remove validation : $toRemValArray = array(); $toRemValArray[0] = 'ele_4af42ceac7810'; if(isset($_POST['btnPost_x'])){ if ($form->isValid($_POST)) { $allElements = $form->getElements(); foreach($allElements as $val){ if(in_array('ele_4af42ceac7810',$toRemValArray)){ $value =