code: public function getField($name){
  		foreach($this->fields as $field){
  			if($field->getName()==$name)
  				return $field;
  		}
  
  		throw new FieldNotFoundException($name);
  	}
docs: Get field object
  
  @param string $name - field name (html name tag)
  @return FormField
  @throws FieldNotFoundException