if (form.fname.value == "") msg = msg + "- First namen"; if (!emailcheck(form.email.value)) msg = msg + "- Valid email addressn"; if (form.message.value == "") msg = msg + "- Messagen";
if (msg!="") { alert ("Please complete the following:rn"+msg); return false; } }[/CODE]
Then I would expect that to work. Defintely close your form first then if that doesnt work change the javascript. I havent had chance to check this works or havent had a look at your emailcheck but I think that the closing of the form should work!!
very strange - code in dreamweaver gives me no errors, but the red lines that usually appear when form is there are not displaying. I have redone it various times.
I tried changes in javascript but that makes no changes.
@cs3mwMay 13.2008 — #Could you email me across the style sheet please so that I can upload it on my test server! I will then be able to do error checking i.e. create an alert box when the form is submitted etc!! Regards