src/Web/ClientProxy.php
public function updateFormElements($formName, $recArr, $rawData = false)
    {
        if ($this->isRpc) {
            if ($rawData) {
                $fieldsOutput = $recArr;
                $this->_otherOutput[] = $this->buildTargetContent($formName, $fieldsOutput);
            } else {
                foreach ($recArr as $fld => $val) {
                    $fieldsOutput[] = $this->buildTargetContent($fld, $val);
                }
                $this->_otherOutput[] = $this->buildTargetContent($formName, $fieldsOutput);
            }
        }
    }
public function updateFormElements($formName, $recArr, $rawData = false)
    {
        if ($this->isRpc) {
            if ($rawData) {
                $fieldsOutput = $recArr;
                $this->_otherOutput[] = $this->buildTargetContent($formName, $fieldsOutput);
            } else {
                foreach ($recArr as $fld => $val) {
                    $fieldsOutput[] = $this->buildTargetContent($fld, $val);
                }
                $this->_otherOutput[] = $this->buildTargetContent($formName, $fieldsOutput);
            }
        }
    }
Update the form elements/controls on the client UI
Return to client browser : array or string

@param string $formName - name of the html form on client
@param array $recArr - name/value pairs
@return void