preProcessForm()

Overview

public any function preProcessForm(
      required string formName        
    , required struct formData        
    ,          any    validationResult
    ,          array  suppressFields  
)

Pre-processes an entire form submission (runs any mapped preprocessors for each field to get a generated value prior to validation and/or persisting to the database).

Arguments

NameTypeRequiredDescription
formNamestringYesName of the form
formDatastructYesSubmitted form data
validationResultanyNoA pre-existing validation result to which to append any errors found during preprocessing
suppressFieldsarrayNo