setTempStoredSubmission()

Overview

public void function setTempStoredSubmission(
      required string  formId        
    , required struct  submission    
    ,          boolean withFileUpload = false
)

Stores a formbuilder form's submitted values in the user's session temporarily, so they can be retrieved when the user has, for instance, logged back in after a timeout. File upload fields will be omitted from these stored values.

Arguments

NameTypeRequiredDescription
formIdstringYesThe ID of the form you wish to store values for
submissionstructYesThe form value collection that will be stored in the session
withFileUploadbooleanNo (default=false)