src/Renderer/AbstractFormRenderer.php
private function dynamicFormCheck()
    {
        if ($this->field->hasDynamicForms()) {
            $this->dynamicFormParentName = $this->field->getName();
            $value = $this->field->getValue();
            $forms = $this->field->getDynamicForms();
            $this->includeDynamicFormJavascript = true;
            foreach ($forms as $dynamicTriggerValue => $form) {
                $this->dynamicFormVisible = ($value == $dynamicTriggerValue);
                $dynamicFields = $form->getFields();
                $this->processFields($dynamicFields, $dynamicTriggerValue);
            }
            unset($this->dynamicFormParentName);
        }
    }
private function dynamicFormCheck()
    {
        if ($this->field->hasDynamicForms()) {
            $this->dynamicFormParentName = $this->field->getName();
            $value = $this->field->getValue();
            $forms = $this->field->getDynamicForms();
            $this->includeDynamicFormJavascript = true;
            foreach ($forms as $dynamicTriggerValue => $form) {
                $this->dynamicFormVisible = ($value == $dynamicTriggerValue);
                $dynamicFields = $form->getFields();
                $this->processFields($dynamicFields, $dynamicTriggerValue);
            }
            unset($this->dynamicFormParentName);
        }
    }
private function dynamicFormCheck ( ) { if ( $ this -> field -> hasDynamicForms ( ) ) { $ this -> dynamicFormParentName = $ this -> field -> getName ( ) ; $ value = $ this -> field -> getValue ( ) ; $ forms = $ this -> field -> getDynamicForms ( ) ; $ this -> includeDynamicFormJavascript = true ; foreach ( $ forms as $ dynamicTriggerValue => $ form ) { $ this -> dynamicFormVisible = ( $ value == $ dynamicTriggerValue ) ; $ dynamicFields = $ form -> getFields ( ) ; $ this -> processFields ( $ dynamicFields , $ dynamicTriggerValue ) ; } unset ( $ this -> dynamicFormParentName ) ; } }
Checks current field being processed for dynamic sub forms
Checks current field being processed for dynamic sub forms