O'Reilly logo

iPhone JavaScript Cookbook by Arturo Fernandez Montoro

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

Building forms with checkboxes, radio buttons, select fields, and text fields

One of the most common widgets for building graphical interfaces is the form. It is used as an interactive component to get information typed by the user. Modern web and desktop applications make intensive use of this widget. The iPhone applications are not an exception. Forms are composed of different widgets as text fields, checkboxes, radio buttons, and selection fields. All of them have a custom look and behavior designed for the iPhone device. Explore this recipe to learn how to build a form with different widgets.

Getting ready

Building a complete form is a straightforward process using the iWebKit framework. Let's see how to do it with the help of this set of JavaScript ...

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