public function getFormName()
    {
        $form = $this->getForm();
        $formName = $form->getName();

        if ($form instanceof FormCollectionInterface) {
            $formName .= '[' . $this->getEntityContainer()->getName() . ']';
        }

        $formName .= '[' . $this->getName() . ']';
        return $formName;
    }