I have written a php page that presents a form for adding a new member to a dbase. This worked ok. I then wanted to add form validation to make sure certain field were filled in. (using DW form validate behaviour with 'onsubmit') this works as far as it pops up a list of errors for any unfilled required fields, but when 'OK' is clicked, acknowledging the error(s), the script seems to continue, without letting the user correct the omissions, and goes to the page in the forms 'action' parameter i.e it apparently submits the form but does not affect the dbase.
How do I stop the php script continuing, allowing the errors to be corrected?
How do I stop the php script continuing, allowing the errors to be corrected?