diff --git a/code/model/editableformfields/EditableFormHeading.php b/code/model/editableformfields/EditableFormHeading.php index 627d25d37..c3274e224 100755 --- a/code/model/editableformfields/EditableFormHeading.php +++ b/code/model/editableformfields/EditableFormHeading.php @@ -87,4 +87,8 @@ public function getFieldValidationOptions() { 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 319ea78d9..0be1d1983 100644 --- a/templates/Includes/UserFormProgress.ss +++ b/templates/Includes/UserFormProgress.ss @@ -1,7 +1,7 @@ <% if $Steps.Count > 1 %>