Originally Posted by jalarie
The "return true;" line belongs at the end of the function. Do all of the validation parts (name, address, ....) and their respective "return false;" lines first. If the user gets past all of those error checks, then the function returns the true value and the form submits.
Yes thanks got it working now.. How much would the code change for using drop down menus. I have tried with the below but can't seem to get it working.