# Function submitForm

- submitForm(viewModel, verificationService, step, successCallback?): void

- #### Parameters

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

      - #### Returns void

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