Hi
Hope everyone is warmer than me today.
I am following this tutorial at w3schools to validate a very simple form on my website:
[
w3schools.com...]
The tutorial gives 2 examples, both of which I can get to work separately, but I can't get them to work together.
My form only consists of 2 field: name and email.
All i want to do is make sure the name field has been populated and the email address is valid.
I'm sure there is an easy way to get the 2 examples from w3 schools to work, but I just can't figure out the JavaScript.
Any help would be much appreciated.
Many thanks
D