src/Framework/Form/AspiForm.php
public function removeField($field)
    {
        foreach ($this->fieldsets as $fieldset) {
            if ($fieldset->hasField($field)) {
                unset($fieldset[$field]);
            }
        }
        return $this;
    }
public function removeField($field)
    {
        foreach ($this->fieldsets as $fieldset) {
            if ($fieldset->hasField($field)) {
                unset($fieldset[$field]);
            }
        }
        return $this;
    }
public function removeField ( $ field ) { foreach ( $ this -> fieldsets as $ fieldset ) { if ( $ fieldset -> hasField ( $ field ) ) { unset ( $ fieldset [ $ field ] ) ; } } return $ this ; }
Method to remove a form field

@param  string $field
@return Form
Method to remove a form field