Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
Processing Buttons
The HTML forms specification supports only two types of buttons. Almost all forms, including all the forms you create in this chapter, have a submit button. Submit, as its name implies, instructs the browser to submit the form fields to a Web server.
Tip
Most newer browsers actually require no submit button at all, and force a submit if the Enter (Windows) or Return (Mac) key is pressed.
The second supported button type is reset. Reset clears all form entries and restores default values if any existed. Any text entered into <input type="text"> or <textarea> fields is cleared, as are any check box, list box, and option button selections. Many forms have reset buttons, but you never need more than one.
On the other hand, you ...
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