You already learned how to use HTML forms to gather user input (see Retrieving and Formatting Data). This chapter shows you how to use the cfform
tag to create dynamic forms in CFML. In addition to standard HTML form controls, the cfform
tag allows you to create forms that contain the following controls:
Most cfform
controls offer input validation attributes that you can use to validate user entry, selection, or interaction. This means you do not have to write separate CFML code specifically for input validation, as you do in HTML forms.