diff --git a/code/model/editableformfields/EditableFormHeading.php b/code/model/editableformfields/EditableFormHeading.php index 627d25d..c3274e2 100755 --- a/code/model/editableformfields/EditableFormHeading.php +++ b/code/model/editableformfields/EditableFormHeading.php @@ -87,4 +87,8 @@ class EditableFormHeading extends EditableFormField { public function getSelectorHolder() { return "$(\":header[data-id='{$this->Name}']\")"; } + + public function getLevel() { + return $this->getField('Level') ?: 3; + } } diff --git a/templates/Includes/UserFormProgress.ss b/templates/Includes/UserFormProgress.ss index 319ea78..0be1d19 100644 --- a/templates/Includes/UserFormProgress.ss +++ b/templates/Includes/UserFormProgress.ss @@ -1,7 +1,7 @@ <% if $Steps.Count > 1 %>