Forms allow applications to collect data from the user. In this chapter, I explain how React works with form elements, using state properties to set their value and event handlers to respond to user interactions. I show you how to work with different element types and show you how to validate the data that the user provides in a form so that the application receives data it can use. Table 15-1 puts forms and validation in context.
Putting Forms and Validation in Context
What are they?
Forms are the basic mechanism that allows applications to prompt the user for data. Validation is the ...