O'Reilly logo

Ext JS 4 Web Application Development Cookbook by Stuart Ashworth, Andrew Duncan

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

Chapter 5. Loading, Submitting, and Validating Forms

In this chapter, we will cover the following topics:

  • Constructing a complex form layout
  • Populating your form with data
  • Submitting your form's data
  • Validating form fields with VTypes
  • Creating custom VTypes
  • Uploading files to the server
  • Handling exceptions and callbacks

Introduction

This chapter introduces forms in Ext JS 4. We begin by creating a support ticket form in the first recipe. To get the most out of this chapter you should be aware that this form is used by a number of recipes throughout the chapter.

Instead of focussing on how to configure specific fields, we demonstrate more generic tasks for working with forms. Specifically, these are populating forms, submitting forms, performing client-side ...

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