Function getRootElementValueById
- getRootElementValueById(formElementId: string, formElements: FormElement[], submission: undefined | {
[name: string]: unknown;
}): unknown
-
Parameters
-
formElementId: string
-
-
submission: undefined | {
[name: string]: unknown;
}
Returns unknown
Takes a form element's id, the form elements and the submission data to return a value from the submission.
Example
Returns