parameterExists

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

parameterExists(name) → returns boolean

The parameterExists function is DEPRECATED as of ColdFusion 6

Argument Reference

parameter string
Required

A syntactically valid parameter name.

Compatibility

ColdFusion:

DEPRECATED since version 6 This function is deprecated, but is still available for backward compatibility. 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