# Function submitForm

- submitForm(
  viewModel: ViewModel,
  verificationService: VerificationService,
  step: VerificationStepsEnum,
  successCallback?: () => void,
  ): void

  #### Parameters

  - viewModel: ViewModel
  - verificationService: VerificationService
  - step: VerificationStepsEnum
  - `Optional` successCallback: () => void

  #### Returns void

  - Defined in jslib/src/lib/utils/stepComponentHelpers/stepComponentHelpers.ts:338