After the form is created, the user needs to validate the input data.To verify the data, first find the agricultural form that needs to be verified. Here we will use the content we learned earlier.
Save the above code as "check_form. htm" and open it with a browser, as shown in Figure 1.26.
If no characters are entered in the "Title" text box or "Content" text field, clicking the "Submit" button will prompt that the "Title" text box or "Content" text field cannot be empty, as shown in Figure 1.27.