User Guide

Chapter 9
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. You
can use these controls without writing a line of Java code.
Contents
Creating Forms with the cfform Tag......................................................................136
Input Validation with cfform Controls ..................................................................139
Input Validation with JavaScript............................................................................144
Building Tree Controls with cftree.........................................................................147
Structuring Tree Controls.......................................................................................150
Embedding URLs in a cftree...................................................................................152
Creating Data Grids with cfgrid .............................................................................153
Creating an Updateable Grid .................................................................................155
Building Slider Bar Controls...................................................................................164
Building Text Entry Boxes.......................................................................................165
Building Drop-Down List Boxes.............................................................................166
Embedding Java Applets.........................................................................................167