Purchase Solution

Javascript Form Validation

Not what you're looking for?

Ask Custom Question

I am trying to check if the user has entered data into my web page form.
The webpage form itself is finally working and done. My only trouble now is javascript and can't really get it to work.

I have kind of figured out how to check for the entered data. What I don't know how to do is to change the first letter of the names,city,country to uppercase (and the rest to be remained lowercase letters).
With the uppercase, I'd like to check if state is entered as 2 uppercase letters.

Also I don't know how to check if product, system, used for is selected.

And of course to get it working.

Attachments
Purchase this Solution

Solution Summary

This solution helps validate a Javascript form.

Solution Preview

Dear student,

Please find the solution attached.
I have put some testing alerts. You can remove them if you ...

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Basic Networking Questions

This quiz consists of some basic networking questions.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Javscript Basics

Quiz on basics of javascript programming language.