Hi

I am trying to submit a form using the code found on this page:

http://javascript.internet.com/forms...alidation.html

to achiege uk post code validation, it works, the only problem i am facing is that the form actually processes even if the post code is wrong.

i.e. even if the post code is worng and it alerts the user that the post code is wrong, when you press the "ok" button in the "alert box" the form continues processing, it should stay still, it should not process.

Please kindly advise.

I have tweaked the code a little bit by adding onclick="postit()" to my submit button area and matched the name of the form and fields etc. i.e. doucment.myformname.myfieldname etc which should not be the prblem?

Thanks in advance.

k