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

NameTypeRequiredDescription
formNamestringYesName of the source form
mergeWithFormNameanyYesName (or array of names) of the form(s) to be merged with the source form
createIfNotExistsbooleanNo (default=true)Whether or not to create and register the form definition if it does not already exist.