User Guide
CFML Quick Reference 11
delimiter = "character"
textQualifier = "character">
cfhttpparam
<cfhttpparam
type = "transaction type"
name = "data name"
value = "data value"
file = "filename"
encoded = "Yes or No"
mimeType = "MIME type designator">
cfif
<cfif expression>
HTML and CFML tags
<cfelseif expression>
HTML and CFML tags
<cfelse>
HTML and CFML tags
</cfif>
cfimport
<cfimport
taglib = "taglib-location"
prefix = "custom">
cfinclude
<cfinclude
template = "template_name">
cfindex
<cfindex
collection = "collection_name"
action = "action"
type = "type"
title = "title"
key = "ID"
body = "body"
custom1 = "custom_value"
custom2 = "custom_value"
URLpath = "URL"
extensions = "file_extensions"
query = "query_name"
recurse = "Yes" or "No"
language = "language">
cfinput
<cfinput
type = "input_type"
name = "name"
value = "initial_value"
required = "Yes" or "No"
range = "min_value, max_value"
validate = "data_type"
onValidate = "javascript_function"
pattern = "regexp"
message = "validation_msg"
onError = "text"
size = "integer"
maxLength = "integer"
checked
passThrough = "HTML_attributes">
cfinsert
<cfinsert
dataSource = "ds_name"
tableName = "tbl_name"
tableOwner = "owner"
tableQualifier = "tbl_qualifier"
username = "username"
password = "password"
formFields = "formfield1, formfield2, ...">
cfinvoke
<!--- Syntax 1 - this syntax invokes a method of a
component. --->
<cfinvoke
component = "component name or reference"
method = "method name"
returnVariable = "variable name"
argumentCollection = "argument collection"
...>
OR