Chapter 3. Creating an Online Customer Registration Form

Forms are used to capture and submit user input in most web-based applications. One common example is a customer registration form. This chapter will walk you through building a dynamic customer registration form application. You will learn the controls Knockout provides to help build a dynamic and rich form easily and efficiently.

In this chapter, you will learn how to:

  • Work with form fields
  • Bind different form elements with the Knockout model
  • Show or hide form elements based on business logic
  • Dynamically create form elements and bind them to a list
  • Submit the form using the submit data binding

The online customer registration form allows the user to provide the information required for user registration. ...

Get KnockoutJS by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.