I have a form that I have to upload to a mysql database. I need to use javascript to verity a name field and a email field before I can upload to the database. How am I able to do that?