public function getForm() { $this->getCurrentStepFields(); $frm = new OJForm($this->currentStepFields, $this->formMultiFieldValidations[$this->currentStepName], $this->formRules, $this->fieldGroups, $this->values); if ($this->fieldTemplate != null) { $frm->setFieldTemplate($this->fieldTemplate); } return $frm; }