mike82y
05-12-2005, 07:31 PM
Hi everyone!
I am new to web design and wanted to create a link submittion form.
However, i am now having some problems with the submit and reset buttons, hope you guys can help me!
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Link Submittion Form</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="background-color: lemonchiffon" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 240px; background-color: orange; text-align: center">
<span style="font-size: 10pt; font-family: Arial"><strong>-Please fill in the following
form-</strong></span></td>
</tr>
<tr>
<td style="width: 240px; height: 21px">
<span style="font-size: 10pt; font-family: Arial">Site Title:<br />
<asp:TextBox ID="TextBox1" runat="server" Width="220px"></asp:TextBox><br />
Website URL:<br />
<asp:TextBox ID="TextBox2" runat="server" Width="220px">http://</asp:TextBox><br />
Country:<br />
<asp:DropDownList ID="DropDownList2" runat="server" Width="190px">
<asp:ListItem>Please select your country:</asp:ListItem>
<asp:ListItem>China</asp:ListItem>
<asp:ListItem>Japan</asp:ListItem>
<asp:ListItem>Taiwan</asp:ListItem>
<asp:ListItem>United States</asp:ListItem>
</asp:DropDownList><br />
Title:<br />
<asp:DropDownList ID="DropDownList1" runat="server" Width="65px">
<asp:ListItem>Title:</asp:ListItem>
<asp:ListItem>Mr.</asp:ListItem>
<asp:ListItem>Ms.</asp:ListItem>
<asp:ListItem>Mrs.</asp:ListItem>
<asp:ListItem>Dr.</asp:ListItem>
</asp:DropDownList><br />
First Name:<br />
<asp:TextBox ID="TextBox3" runat="server" Width="220px"></asp:TextBox><br />
Last Name:</span><br />
<asp:TextBox ID="TextBox4" runat="server" Width="220px"></asp:TextBox><br />
<span style="font-size: 10pt; font-family: Arial">
e-mail:<br />
</span>
<asp:TextBox ID="TextBox5" runat="server" Width="220px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 240px; text-align: right">
<asp:Button ID="Button2" runat="server" Text="Reset" CausesValidation="False" />
<asp:Button ID="Button1" runat="server" Text="Submit" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
mike
I am new to web design and wanted to create a link submittion form.
However, i am now having some problems with the submit and reset buttons, hope you guys can help me!
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Link Submittion Form</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<table style="background-color: lemonchiffon" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 240px; background-color: orange; text-align: center">
<span style="font-size: 10pt; font-family: Arial"><strong>-Please fill in the following
form-</strong></span></td>
</tr>
<tr>
<td style="width: 240px; height: 21px">
<span style="font-size: 10pt; font-family: Arial">Site Title:<br />
<asp:TextBox ID="TextBox1" runat="server" Width="220px"></asp:TextBox><br />
Website URL:<br />
<asp:TextBox ID="TextBox2" runat="server" Width="220px">http://</asp:TextBox><br />
Country:<br />
<asp:DropDownList ID="DropDownList2" runat="server" Width="190px">
<asp:ListItem>Please select your country:</asp:ListItem>
<asp:ListItem>China</asp:ListItem>
<asp:ListItem>Japan</asp:ListItem>
<asp:ListItem>Taiwan</asp:ListItem>
<asp:ListItem>United States</asp:ListItem>
</asp:DropDownList><br />
Title:<br />
<asp:DropDownList ID="DropDownList1" runat="server" Width="65px">
<asp:ListItem>Title:</asp:ListItem>
<asp:ListItem>Mr.</asp:ListItem>
<asp:ListItem>Ms.</asp:ListItem>
<asp:ListItem>Mrs.</asp:ListItem>
<asp:ListItem>Dr.</asp:ListItem>
</asp:DropDownList><br />
First Name:<br />
<asp:TextBox ID="TextBox3" runat="server" Width="220px"></asp:TextBox><br />
Last Name:</span><br />
<asp:TextBox ID="TextBox4" runat="server" Width="220px"></asp:TextBox><br />
<span style="font-size: 10pt; font-family: Arial">
e-mail:<br />
</span>
<asp:TextBox ID="TextBox5" runat="server" Width="220px"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 240px; text-align: right">
<asp:Button ID="Button2" runat="server" Text="Reset" CausesValidation="False" />
<asp:Button ID="Button1" runat="server" Text="Submit" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
mike