Question 1 Report
A web page includes a form for visitors to sign up to a newsletter.
(a) Complete the table by identifying four form elements that could be used.
| Form element | Purpose on the newsletter form |
|---|---|
| For entering the visitor's name | |
| For entering an email address | |
| For agreeing to terms and conditions | |
| For sending the completed form |
[4]
(b) Explain why 'validation' is important for a web form. [2]
(a)
| Form element | Purpose on the newsletter form |
|---|---|
| Text box (text input field). [1] | For entering the visitor's name. |
| Email input field. [1] | For entering an email address (the email type provides built-in format validation). |
| Checkbox. [1] | For agreeing to terms and conditions (the user ticks the box to confirm agreement). |
| Submit button. [1] | For sending the completed form data to the server for processing. |
(b) Why validation is important for a web form:
Everything you need to excel in your exams