src/View/FormHelper.php
public function switchForm($formName=null, $id=null)
    {    	
		$formObj1 = Openbizx::getObject($formName);
		$formObj1->setRecordId($id);
		$output = $formObj1->render();
		if (!empty($output)) Openbizx::$app->getClientProxy()->redrawForm($this->formObj->objectName, $output);
    }
public function switchForm($formName=null, $id=null)
    {    	
		$formObj1 = Openbizx::getObject($formName);
		$formObj1->setRecordId($id);
		$output = $formObj1->render();
		if (!empty($output)) Openbizx::$app->getClientProxy()->redrawForm($this->formObj->objectName, $output);
    }
Switch to other form

@param string $formName to-be-swtiched form name. if empty, then switch to default form
@param string $id id value of the target form
@return void
@access remote