Using javascript for client side form validation on my PHP web page.
when i click on submit, the javascript code validates the field. in the case where an error is made i do not want the page to submit, but i cannot seem to stop it from submitting.
Assuming ur javascript function for validating the form is validate_form() the form tag on ur html page shld look like :
<form onSubmit="return validate_form()"> // ur form objects </form>
Hope this helps !!!