parameterExists

Determines whether a parameter exists. ColdFusion does not evaluate the argument.

parameterExists(name) → returns boolean

The parameterExists function was REMOVED from ColdFusion 2025 and has been DEPRECATED since ColdFusion 6

Argument Reference

parameter string
Required

A syntactically valid parameter name.

Compatibility

ColdFusion:

DEPRECATED since version 6 REMOVED in version 2025 This function is deprecated, but is still available for backward compatibility until ColdFusion 2025. Use StructKeyExists() or IsDefined() functions instead.

Examples
Sample code invoking the parameterExists function

<cfif parameterExists(FORM.myString)> 
 <P>Using parameterExists, we have shown that the FORM field 'myString' now exists. 
 </cfif> 

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub