src/View/EditForm.php
public function updateRecord()
    {
		$recArr = $this->readInputRecord();
		
		$this->recordId = $recArr['Id'];
        $currentRec = $this->getDataObj()->fetchById($this->recordId);
		
        //$this->setActiveRecord($recArr);
        if (count($recArr) == 0)
            return;

        try
        {
            $this->ValidateForm();
        }
        catch (Openbizx\Validation\Exception $e)
        {
            $this->processFormObjError($e->errors);
            return;
        }
	
		if ($this->_doUpdate($recArr, $currentRec) == false) return;
			
		//$this->commitFormElements(); // commit change in FormElement
		
        // in case of popup form, close it, then rerender the parent form
        /*if ($this->parentFormName)
        {
            $this->close();

            $this->renderParent();
        }*/
        
        $this->formHelper->processPostAction();
    }
public function updateRecord()
    {
		$recArr = $this->readInputRecord();
		
		$this->recordId = $recArr['Id'];
        $currentRec = $this->getDataObj()->fetchById($this->recordId);
		
        //$this->setActiveRecord($recArr);
        if (count($recArr) == 0)
            return;

        try
        {
            $this->ValidateForm();
        }
        catch (Openbizx\Validation\Exception $e)
        {
            $this->processFormObjError($e->errors);
            return;
        }
	
		if ($this->_doUpdate($recArr, $currentRec) == false) return;
			
		//$this->commitFormElements(); // commit change in FormElement
		
        // in case of popup form, close it, then rerender the parent form
        /*if ($this->parentFormName)
        {
            $this->close();

            $this->renderParent();
        }*/
        
        $this->formHelper->processPostAction();
    }
Update record

@return mixed