User Guide

C HAPTER 10
Chapter 10 Building Dynamic Forms
This chapter shows you how to use the CFFORM tag to enrich your forms with
sophisticated graphical controls, including several Java applet-based controls. These
controls can be enabled without the need to code Java directly.
Contents
Creating Forms with the CFFORM Tag......................................................... 124
Input Validation with CFFORM Controls..................................................... 126
Input Validation with JavaScript ................................................................... 127
Building Tree Controls with CFTREE............................................................ 129
Structuring Tree Controls .............................................................................. 132
Embedding URLs in a CFTREE ..................................................................... 134
Creating Data Grids with CFGRID ................................................................ 135
Creating an Updateable Grid ........................................................................ 137
Building Slider Bar Controls.......................................................................... 142
Building Text Entry Boxes.............................................................................. 142
Building Drop-Down List Boxes.................................................................... 143
Embedding Java Applets................................................................................ 144