The onSubmit event processing

This event occurs when an HTML form is submitted. Usually it is used to validate the form filling. In our example, the function CheckForm is called that does the job. View the source of this page and try to figure out how it works.

Your name:
Your age: