diff --git a/code/Model/EditableFormField/EditableFormHeading.php b/code/Model/EditableFormField/EditableFormHeading.php index b324d1c9..f6a8b5e0 100644 --- a/code/Model/EditableFormField/EditableFormHeading.php +++ b/code/Model/EditableFormField/EditableFormHeading.php @@ -70,7 +70,7 @@ public function getCMSFields() public function getFormField() { - $labelField = HeaderField::create('userforms-header', $this->Title ?: false) + $labelField = HeaderField::create('userforms-header-' . $this->ID, $this->Title ?: false) ->setHeadingLevel($this->Level); $labelField->addExtraClass('FormHeading'); $labelField->setAttribute('data-id', $this->Name);