I am creating a form for my website that simply asks for a Name, username and phone number. I am really good at writting html and have that part of it done. I have a basic understanding of javascript and want to have the javascript validate the form before it is submitted.
I want only letters in the name field. For the password I only want 8 characters total that starts with a letter, includes at least 2 numbers, and has no spaces. For the phone number I only want numbers.
Can anyone help me by putting me on the right track? Thanks!