validateFormSubmission()
Overview
public any function validateFormSubmission(
required array formItems
, required struct submissionData
)
Validates the given submission data against a set of form builder form items. Returns a preside Validation framework's 'ValidationResult' object.
Arguments
Name | Type | Required | Description |
---|---|---|---|
formItems | array | Yes | Array of form item definitions for the form |
submissionData | struct | Yes | Struct of data that has been submitted for validation |