I am a guy trying to learn js & css in my spare time. Can anyone show me how to validate this form?

Posted by admin
Evansville
ebizartistry asked:


Form Validation help?
I am just learning HTML and trying my hand at javascript. I made the form below and need to validate it. The name field cannot contain numbers, the phone field can contain on letters and no more than 10 numbers and no field can be blank. Can anyone help? Idon’t even know where to place the code.



AmeriMex Restaurant
Comment Form
“Tell us what you think”







Please fill out the following form
and press the SUBMIT button below:

Your Name:

Your Phone Number:

Restaurant Name:

Choose One Only

Name if “Other”:


Quality of Food


(Please Check One Only)



Unbelievable! Unmatched by any restaurant around!

Good Food!

Will Do In A Pinch!

Even the Cockroaches Stay Away!

Further Comments:



Quality of Service

(Please Check One Only)

I Was Treated Like a King!
Better Than Average!

Should Have Served Myself!

The Wait Staff Came Around As Often as Haley’s Comet.




Further Comments:


2 Responses to “I am a guy trying to learn js & css in my spare time. Can anyone show me how to validate this form?”

  1. Duf P Says:

    For you the answer you and give you are looking for you the answer you are looking for you are looking for you the answer you.
    The answer you and give you the answer you the answer you and give you and give you and give you and.
    For you are looking for you and give you and give you and give you the answer you are looking for you and give you the answer you are looking for you and give you the answer you the answer you the answer you are looking for you are looking for you the answer you the answer you.
    For you and give you the answer you and give you the answer you the answer you are looking for you the answer you the answer you and give you the answer you the answer you are looking for you are looking for.

  2. Panky Says:

    Try with some javaScript vlicdation Software :

    or in Internet Explorer turn on the Visual Debugger to see the Error.