Using ColdFusion Conditional Logic

ColdFusion provides simple branching structures that you use to code conditional logic expressions. In its simplest form, you will use conditional logic to:

For example, you will use conditional logic on action pages to test for a form variable's existence so that your users will not get an error when they submit a form without a checkbox enabled.

To see how you may use conditional logic in your application pages, sample this training snippet.