Hi, I am trying to setup my first ever asp contact form, but for some reason it isn't working. I have the contact form set up(code below) but it seems to just refresh the page and ignores the action. Any ideas? Thanks for any help. Code -- Contact form... <form method="POST" action="contact.aspx"> <input type="text" style=" width: 303px; height: 22px; margin-bottom: 6px;" name="textfield8" id="textfield8" /><br /> <b>Your Email:</b><br /> <input type="text" style=" width: 303px; height: 22px; margin-bottom: 6px;" name="textfield9" id="textfield9" /><br /> <b>Phone #:<br /> <input type="text" style=" width: 303px; height: 22px; margin-bottom: 6px;" name="textfield10" id="textfield10" /><br /> Details:<br /> <textarea style=" height:150px; border: solid 1px #ccc; margin-right: 5px; width:350px; " name="textarea4" id="textarea4" rows="5" cols="20"></textarea><br /> <label> <input style="margin-left:230px;" type="submit" name="submit0" id="submit0" value="Submit" /><asp:Button ID="Button2" runat="server" Text="Reset" /> </label> </b></p> </form>
The problem is that you have created a form for entering the data but you don't have the code to actually do something with the input. Check out http://www.ctrfx.com/form/ to get sample form and back end code to actually send the contact info.