How it Works: Catching Data at the Server

In this lesson, we will understand how the previous exercise worked.

We'll cover the following

HOW IT WORKS

This exercise demonstrated how different kinds of form data are sent to the server. As you saw in the figures, there was always a data entry sent for each text field, however, empty fields contained empty values. The content of password fields is displayed in their clear form, otherwise how would you be able to process them?

When the dropdown list (represented by the <select> tag) was sent, you could see the value of the selected option in the form data.

The first time (image one) the salutation field was sent with its default option, “Mr.”.

Get hands-on with 1200+ tech skills courses.