Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
Debugging Form Problems
If a form is submitted without data, it can cause an error. Web browsers submit data to Web servers in two ways. These ways are called GET and POST, and the submission method for use is specified in the <form> or <cfform> method attribute.
As a rule, forms being submitted to ColdFusion should always be submitted using the POST method. The default method for <form> is GET, so if you omit or misspell method="POST", ColdFusion may be incapable of processing your forms correctly.
You might occasionally get a variable is undefined error message when referring to form fields in the action template. Radio buttons, check boxes, and list boxes aren’t submitted if no option was selected. It’s important to remember this when referring ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access