CFif IS NOT operator
cfifISNOTOperator.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cfif IS NOT operator - how to use (IS NOT) operator in cfif conditional processing</title>
<style type="text/css">
.divCSS
{
background-color:DeepPink;
color:Snow;
font-family:"Courier New", Courier, monospace;
font-size:large;
width:450px;
height:75px;
text-align:center;
padding-top:25px;
}
</style>
</head>
<body>
<h2 style="color:SeaGreen; font-style:italic">coldfusion cfif tag example: how to use "IS NOT" operator</h2>
<hr width="550" align="left" color="DarkSeaGreen" />
<br />
<cfset PreferedColor="DodgerBlue">
<div class="divCSS">
<cfif PreferedColor IS NOT "Crimson">
Your prefered color is not: Crimson
<cfelse>
Your prefered color is: Crimson
</cfif>
</div>
</body>
</html>
- CFMAP - Generate an earth type google map in ColdFusion
- CFMAP - How to change google map marker color in ColdFusion
- cfqueryparam- how to use cfqueryparam in cfquery tag
- How to use cfsqltype in cfqueryparam tag in ColdFusion
- How to use variable prefixes in ColdFusion
- ColdFusion variables typeless feature
- ColdFusion number and date format mask
- ColdFusion dynamic variables
- How to create a border type layout in ColdFusion
- How to determine whether a file exists in ColdFusion