getTempStoredSubmission()

Overview

public struct function getTempStoredSubmission(
      required string formId    
    ,          string storageKey = ""
    ,          string storage   
)

Retrieves a formbuilder form's previously stored submission values from temporary storage (e.g. session or database). This is typically used to repopulate a form after the user returns from an interruption such as a login timeout.

Arguments

NameTypeRequiredDescription
formIdstringYesThe ID of the form whose stored values should be retrieved
storageKeystringNo (default="")Optional key to namespace or identify the stored submission
storagestringNoThe storage type to use (defaults to `formbuilderDraftStorageType`)