formExists()

Overview

public boolean function formExists(
      required string  formName          
    ,          boolean checkSiteTemplates = true
)

Returns whether or not the given form exists.

Arguments

NameTypeRequiredDescription
formNamestringYesThe name of the form to check
checkSiteTemplatesbooleanNo (default=true)Whether or not to check within the current active site template