validateActionConfig()

Overview

public any function validateActionConfig(
      required string formId  
    , required string action  
    , required struct config  
    ,          string actionId = ""
)

Validates the configuration for an action within a form. Returns a Preside validation result object.

Arguments

NameTypeRequiredDescription
formIdstringYesID of the form to which the item belongs / will belong
actionstringYesAction name
configstructYesConfiguration struct to validate
actionIdstringNo (default="")