i am currently putting a form onto my site, its just a simple html form with the post method. however my website is created using a backend system running off asp.net and every time i sub mit the form it should just send me the e-mail but it comes up error, can anyone help the address of the page is
i would like to think that there is a mistake in your HTML code for the form, or you have pasted into the code not quite in the right place. there could be a few variations on the theme off. onyl way8 to see this is to look at the whole source code. not sure if its a good idea to post it here as it will be too long, anycahnce of mailing it or putting it up as a text file on your site so we can look at please.
Your HTML form code is fine. This is more of an ASP coding error as i said on forum might be you dropped the code in amongst some ASP code and didnt break out of it Or you have accidently deleted some code and didnt realize it. Can you please resend ALL The page code including the ASP etc if you still cant see the problem.. Thanks.
the likes of ASP and PHP are processed on the server, server-side, before being passed to the visitors browser, therefore doing a right click view source will not view all the ASP code. The error you are getting indicates a problem with the ASP code, as I have suggested before.
You might be now better off by starting again. This time save your HTML form code as something like webform.htm and put it into the includes folder. Now just simply add a line in the ASP code to call it. #include file=”path/webform.htm” Of course you have to put in the correct path etc.
This method will tidy the code up and make any error problem solving easier. If you still having problems then only way someone can help properly is if they see the whole code.
This thread is now locked and can not be replied to.