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
Name | Type | Required | Description |
---|---|---|---|
formId | string | Yes | ID of the form to which the item belongs / will belong |
action | string | Yes | Action name |
config | struct | Yes | Configuration struct to validate |
actionId | string | No (default="") |