i didnt make this but a friend asked me to look at it and i'm lost as far as aspx goes so i was wondering if anyone here might know what the problem is?
here is the form http://www.decagent.com/questionnaire.aspx
it sends the confirmation email to the person filling it out but it doesn't sent to the recipient, though he told me he recieved it a couple times when i filed it out
here's the page code
here is the form http://www.decagent.com/questionnaire.aspx
it sends the confirmation email to the person filling it out but it doesn't sent to the recipient, though he told me he recieved it a couple times when i filed it out
here's the page code
Code:
<%@ Page Language="C#" MasterPageFile="MainMasterPage.master" AutoEventWireup="true"
CodeFile="Questionnaire.aspx.cs" Inherits="Questionnaire" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div align="left">
<div style="overflow: hidden; width: 636px;">
<div style="float: left; width: 24px; height: 34px;">
<img alt="" width="24px" height="34px" src="images/box_corner1.gif" />
</div>
<div style="float: left; background: url(images/bg_top_box.gif); width: 588px; height: 29px;
padding-top: 10px;" class="Headingstyle">
QUESTIONNAIRE
</div>
<div style="float: left; width: 24px; height: 34px">
<img alt="" width="24px" height="34px" src="images/box_corner2.gif" />
</div>
</div>
<div style="overflow: hidden; width: 636px;">
<div style="float: left; width: 24px; height: 34px;">
</div>
<div style="float: left; width: 588px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td> <asp:Label ID="Label2" runat="server"></asp:Label><br /></td></tr>
<tr>
<td height="40" align="left" valign="middle">
<strong class="orange">1. Personal Information</strong></td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" cellpadding="0" cellspacing="5">
<tr>
<td width="247" align="left" valign="middle">
Name</td>
<td width="309" align="left" valign="top">
<asp:TextBox ID="txtName" runat="server" Width="150px"></asp:TextBox>
<%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="txtName"
ErrorMessage="Enter Name">*</asp:RequiredFieldValidator>--%>
</td>
</tr>
<tr>
<td align="left" valign="middle">
Email Address
</td>
<td align="left" valign="top">
<asp:TextBox ID="txtEmail" runat="server" Width="150px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="txtEmail"
ErrorMessage="Enter valid email">*</asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
ErrorMessage="Enter Valid Email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td align="left" valign="middle">
Telephone</td>
<td align="left" valign="top">
<asp:TextBox ID="txtPlayerPhone" runat="server" Width="150px"></asp:TextBox>
<%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txtPlayerPhone"
ErrorMessage="Enter Telephone">*</asp:RequiredFieldValidator>--%>
</td>
</tr>
<tr>
<td align="left" valign="middle">
Pager</td>
<td align="left" valign="top">
<asp:TextBox ID="txtPlayerPager" runat="server" Width="150px"></asp:TextBox>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="txtPlayerPager"
ErrorMessage="Enter Pager">*</asp:RequiredFieldValidator>--%>
</td>
</tr>
<tr>
<td align="left" valign="middle">
Cell Phone
</td>
<td align="left" valign="top">
<asp:TextBox ID="txtPlayerCell" runat="server" Width="150px"></asp:TextBox>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="txtPlayerCell"
ErrorMessage="Enter Cell Phone">*</asp:RequiredFieldValidator>--%>
</td>
</tr>
<tr>
<td align="left" valign="middle">
Wife/Girlfriend's Name</td>
<td align="left" valign="top">
<asp:TextBox ID="player_WifeGFName" runat="server" Width="150px"></asp:TextBox>
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="player_WifeGFName"
ErrorMessage="Enter Wife/Girlfriend's Name">*</asp:RequiredFieldValidator>--%>
</td>
</tr>
<tr>
<td align="left" valign="middle">
Children's Name(s)</td>
<td align="left" valign="top">
<asp:TextBox ID="player_ChildrenName" runat="server" Width="150px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="left" valign="top">
What are your hobbies?
</td>
<td align="left" valign="top">
<asp:TextBox ID="player_Hobbies" runat="server" Width="150px"></asp:TextBox>
</td>
</tr>
<tr align="left" valign="top">
<td>
<p>
Do you have any friends or relatives
</p>
<p>
playing or working for an NFL team?
</p>
</td>
<td align="left" valign="top"><asp:TextBox ID="txtfriends" runat="server" Width="150px"></asp:TextBox>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="40" align="left" valign="middle">
<strong class="orange">2. Parental/Guardian Information</strong></td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" cellpadding="0" cellspacing="5">
<tr>
<td width="247" align="left" valign="middle">
Names</td>
<td width="309" align="left" valign="top">
<asp:TextBox ID="txtname_inf" runat="server" Width="150px"></asp:TextBox></td>
</tr>
<tr>
<td align="left" valign="middle">
Address</td>
<td align="left" valign="top">
<asp:TextBox ID="txtadd_inf" runat="server" Width="150px"></asp:TextBox></td>
</tr>
<tr>
<td align="left" valign="middle">
Telephone</td>
<td align="left" valign="top">
<asp:TextBox ID="txtPhone_inf" runat="server" Width="150px"></asp:TextBox></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="40" align="left" valign="middle">
<strong class="orange">3. Other People Helping With Agent Selection</strong></td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" cellpadding="0" cellspacing="5">
<tr>
<td width="247" align="left" valign="middle">
Name of person(s) helping you select an agent</td>
<td width="309" align="left" valign="top">
<asp:TextBox ID="txtPlayerName_3" runat="server" Width="150px"></asp:TextBox>
</td>
</tr>
<tr>
<td align="left" valign="middle">
What are their telephone numbers?</td>
<td align="left" valign="top">
<asp:TextBox ID="txtPhome_3" runat="server" Width="150px"></asp:TextBox></td>
</tr>
<tr>
<td align="left" valign="middle">
Address</td>
<td align="left" valign="top">
<asp:TextBox ID="txtAdd_3" runat="server" Width="150px"></asp:TextBox></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="40" align="left" valign="middle">
<strong class="orange">4. College Information</strong>
</td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" cellpadding="0" cellspacing="5">
<tr>
<td width="44%" align="left">
School</td>
<td width="56%" align="left">
<asp:DropDownList ID="ddlSchool" runat="server">
<asp:ListItem Value="0" Selected="True">Select School ]