protected function submitEditFieldValue()
    {
        if ($this->isPosted('delete')) {
            $this->deleteFieldValue();
        } else if ($this->isPosted('save') && $this->validateEditFieldValue()) {
            $this->deleteImageFieldValue();
            if (isset($this->data_field_value['field_value_id'])) {
                $this->updateFieldValue();
            } else {
                $this->addFieldValue();
            }
        }
    }
protected function submitEditFieldValue()
    {
        if ($this->isPosted('delete')) {
            $this->deleteFieldValue();
        } else if ($this->isPosted('save') && $this->validateEditFieldValue()) {
            $this->deleteImageFieldValue();
            if (isset($this->data_field_value['field_value_id'])) {
                $this->updateFieldValue();
            } else {
                $this->addFieldValue();
            }
        }
    }
protected function submitEditFieldValue ( ) { if ( $ this -> isPosted ( 'delete' ) ) { $ this -> deleteFieldValue ( ) ; } else if ( $ this -> isPosted ( 'save' ) && $ this -> validateEditFieldValue ( ) ) { $ this -> deleteImageFieldValue ( ) ; if ( isset ( $ this -> data_field_value [ 'field_value_id' ] ) ) { $ this -> updateFieldValue ( ) ; } else { $ this -> addFieldValue ( ) ; } } }
Handles a submitted field value data
Handles a submitted field value data