public function spatialAction() { $form = new FindFilterForm(); $this->view->form = $form; if ($this->getRequest()->isPost() && $form->isValid($this->_request->getPost())) { if ($form->isValid($form->getValues())) { $params = array('bbox' => $form->getValue('bbox'), 'objectType' => $form->getValue('objecttype'), 'broadperiod' => $form->getValue('broadperiod')); $this->process($params); } else { $form->populate($form->getValues()); } } }