diff --git a/app/javascript/submission_form/form.vue b/app/javascript/submission_form/form.vue
index 61ae047c..f32fa220 100644
--- a/app/javascript/submission_form/form.vue
+++ b/app/javascript/submission_form/form.vue
@@ -1114,7 +1114,8 @@ export default {
})
},
showCompleteButton () {
- return this.completeButtonContainer && !this.isCompleted && !this.isInvite && this.isFormStarted &&
+ return this.completeButtonContainer && !this.isCompleted && !this.isInvite &&
+ (this.isFormStarted || this.stepFields.length === 0) &&
!this.stepFields.find((fields) => fields.some((f) => f.required && isEmpty(this.submittedValues[f.uuid])))
},
submitButtonText () {
@@ -1667,7 +1668,7 @@ export default {
const submitStepIndex = this.currentStep
- const stepPromise = ['signature', 'phone', 'initials', 'payment', 'verification', 'kba'].includes(this.currentField.type)
+ const stepPromise = ['signature', 'phone', 'initials', 'payment', 'verification', 'kba'].includes(this.currentField?.type)
? this.$refs.currentStep.submit
: () => Promise.resolve({})
diff --git a/app/views/submit_form/show.html.erb b/app/views/submit_form/show.html.erb
index 48580c8f..7d4f76e1 100644
--- a/app/views/submit_form/show.html.erb
+++ b/app/views/submit_form/show.html.erb
@@ -33,7 +33,9 @@
<% end %>
-
+ <% unless @submitter.viewer? %>
+
+ <% end %>
<% if @form_configs[:with_delegate] && !@submitter.viewer? %>
@@ -84,7 +86,9 @@
<% end %>
-
+ <% unless @submitter.viewer? %>
+
+ <% end %>
<% if @form_configs[:with_delegate] && !@submitter.viewer? %>