September 3, 200917 yr I could really do with some help validating this page: http://waynedeboer.co.uk/web-sites/creative_wdb/contact-us.html I downloaded the contact form and got it working cross browser how I wanted it to work but now its working its coming up with several errors and I dont really know where to start as I know nothing in regards to php and I dont want to ruin the working contact form. Any help would be appreciated. Wayne
September 3, 200917 yr I could really do with some help validating this page: http://waynedeboer.co.uk/web-sites/creative_wdb/contact-us.html I downloaded the contact form and got it working cross browser how I wanted it to work but now its working its coming up with several errors and I dont really know where to start as I know nothing in regards to php and I dont want to ruin the working contact form. Any help would be appreciated. Wayne You need to close your input tags. Also you've missed off <label> values... <form action="javascript:alert('success!');"> <label for="name">Your name:</label><input id="name" class="textbox" type="text" name="name" value="" /><br /> <label for="email">Your e-mail address:</label><input id="email" class="textbox" type="text" name="email" value="" /><br /> <label for="subj">Subject:</label><input id="subj" class="textbox" type="text" name="subject" value="" /><br /> <label for="mess">Your queries/comments:</label><textarea id="mess" class="textbox" name="message" ROWS="4" COLS="25" /></textarea><br /> <input class="button" type="submit" name="submit" value="Send Message" /> <div class="clear"></div> </form> The final error is in the Javscript, not sure how to fix that but someone should know
September 3, 200917 yr Try wrapping your js in CDATA tags or moving it to an external file. Explanation here
September 3, 200917 yr Author Thank you both very much, between you I have managed to validate my contact form. Thank you again, your help is most appreciated. Kind regards, Wayne
Create an account or sign in to comment