O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required