validateSubmission
validateSubmission(
form,data,options):ValidationErrors
Only form.steps is ever read below — narrowed from the full SdkForm (rather than requiring
one) so a caller with a differently-shaped envelope around the same step/node tree (e.g. the
anonymous public-form render response, which carries no externalId/submissionUrl/status)
can validate against it directly, with no placeholder fields invented just to satisfy the type
checker. Spec 77-public-form-progressive-enhancement.
Parameters
Section titled “Parameters”Pick<SdkForm, "steps">