Z
z24
Hello I am having a bit of a problem with validating a form. All I
want the form to do is if the user leaves a field empty for a
notification to display. The latest thing I have tried is to use
onchange like this
ONCHANGE=if(this.value.length < 1) alert('Please Enter your Name.')
This problem with this method is that it does do the trick as long as
you click into the field before you click submit. Does anyone know of
anyways to get around this problem. I do not want to make it too
complicated. If there is someway to do it like this could someone
please let me know.
Thank You in advance
want the form to do is if the user leaves a field empty for a
notification to display. The latest thing I have tried is to use
onchange like this
ONCHANGE=if(this.value.length < 1) alert('Please Enter your Name.')
This problem with this method is that it does do the trick as long as
you click into the field before you click submit. Does anyone know of
anyways to get around this problem. I do not want to make it too
complicated. If there is someway to do it like this could someone
please let me know.
Thank You in advance