Let's look at a more complex validated form with some different types of form fields. Try pressing the Send Details button without filling in the form and see what happens.
Our example is very simple as it only checks one field.
Let's expand this example with a more complex function that checks lots of form fields.
You can then adapt this form to your own requirements.
Let's build a simple form with a validation script.Again, you might like to open the source code for this form in a separate window, so that you can refer to it as we talk you through.