protected function getDynamicHtml()
    {
        $strReturn = "";

        if ($this->__dynamic && !empty($this->__dynamicLabel)) {
            $arrFields = array();
            // Generate an array of field id's
            foreach ($this->__fields as $field) {
                // Skip the hidden dynamic counter fields.
                if ((get_class($field) == "ValidFormBuilder\\Hidden") && $field->isDynamicCounter()) {
                    continue;
                }

                if (!empty($field->getName())) {
                    $arrFields[$field->getId()] = $field->getName();
                }
            }

            $strReturn .= "<div class=\"vf__dynamic\">";
            $strReturn .= "<a href=\"#\" data-target-id=\"" . implode("|", array_keys($arrFields))
                . "\" data-target-name=\"" . implode("|", array_values($arrFields))
                . "\"{$this->__getDynamicLabelMetaString()}>{$this->__dynamicLabel}</a>";
            $strReturn .= "</div>";
        }

        return $strReturn;
    }