@oneblink/sdk-core
    Preparing search index...

    Function getRootElementValueById

    • Takes a form element's id, the form elements and the submission data to return a value from the submission.

      const value = submissionService.getRootElementById(
      formElementId,
      form.elements,
      submission,
      )

      Parameters

      • formElementId: string
      • formElements: FormElement[]
      • submission: undefined | { [name: string]: unknown }

      Returns unknown