getMergedFormName()
Overview
public string function getMergedFormName(
required string formName
, required any mergeWithFormName
, boolean createIfNotExists = true
)
Returns the resultant form name that is generated when merging two or more form definitions
Arguments
Name | Type | Required | Description |
---|---|---|---|
formName | string | Yes | Name of the source form |
mergeWithFormName | any | Yes | Name (or array of names) of the form(s) to be merged with the source form |
createIfNotExists | boolean | No (default=true) | Whether or not to create and register the form definition if it does not already exist. |