Summary

In this chapter, we walked through enhancing the customer banking portal for MyBank with additional features that we started building in the previous chapter. In the first section, we implemented a user story to allow the users to update their personal information. We learned how to enable and disable the form fields and how to submit data to the server.

In the second section, we gave our users the ability to cancel the edited form and revert their changes. We discussed the different ways to achieve this and learned how to implement this requirement using the Knockout observables and the memento design pattern. In the third section, we implemented this user story about validating that the inputs for personal information in the form fields ...

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.