O'Reilly logo

Adobe® Dreamweaver® CS4 How-Tos: 100 Essential Techniques by David Karlins

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

#72 Validating Text Field Input

Many times you will want to test content entered into a text field before you allow a visitor to submit the form. For example, you might require a visitor to enter his or her name before submitting a form. In that case, the validation test would be that a visitor could not leave the Name field blank before submitting it. The Spry Validation Text Field widget can detect a blank field and alert the person filling out the form that a name is required before the form can be submitted.

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