# Form submission using Javascript?

**URL:** <https://forum.kirupa.com/t/form-submission-using-javascript/308825>\
**Category:** web dev\
**Created:** [April 30, 2010, 8:09pm UTC](https://forum.kirupa.com/t/form-submission-using-javascript/308825 "2010-04-30T20:09:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boebarl1](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@boebarl1](https://forum.kirupa.com/u/boebarl1)\
**Post date:** [April 30, 2010, 8:09pm UTC](https://forum.kirupa.com/t/form-submission-using-javascript/308825/1 "2010-04-30T20:09:44Z")

</div>

I am trying to write this code so that when someone try’s to submit this form, it will not let them unless their e-mail, first and last name fields are filled in. Right now I have it so an alert box pops up if the feilds are not filled in, but then it continues to process the form? If someone could please take a look at my code on my site, maybe you will be able to see the mistake I am making. The link is below.

[http://boebarlage.limewebs.com/rec\_application.html](http://boebarlage.limewebs.com/rec_application.html)

Any advice will be greatly appreciated!

Boe Barlage
