Chapter 8. Working with forms

 

This chapter covers

  • Building simple and complex forms
  • Loading and saving forms
  • Binding a form to a list

So far in this book we’ve covered many ways to manage data and display it onscreen using Sencha Touch’s various UI widgets, ranging from tabs, to generic components, to XTemplates. Though this information is important for most applications, we’re sure your users are just as demanding as ours and want to interact with the data—and maybe even save it!

Interacting with the data is done using Form panels and form fields. In this chapter you’ll examine the various form elements, their uses, and how to put them together in a form that can be loaded and saved. After that you’ll explore ways to use forms in conjunction with other components, like the list sample from chapter 5. So what are you waiting for? Let’s get started.

8.1. What makes Form panels so special anyway?

It should come as no surprise that developing and designing forms represents one of the common tasks in every app developer’s life, and as such, we developers are a demanding bunch. A way to load the form? You bet. A way to save it? Of course. Validation? An absolute must!

8.2. Building a basic form

 
 

8.3. An overview of the different Form widgets

 
 

8.4. Building complex forms

 
 
 

8.5. Managing data with models

 
 
 

8.6. Binding a form to a list

 
 
 

8.7. Summary

 
 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest