ClueLess
02-27-2003, 03:07 PM
Please give me some suggestions to do. This is really urgent.
I have a sign up form, which has some values inside when I view the form. For Example: Member’s Name: Steve Smith, Gender: Male, Date of Birth: 12/31/2000.
If the user wants to Add New Member, what they have to do is click “Add New Member” button, it must load the same table, but no values inside of that table. How can we do that???? ??
I’ve tried to have 2 tables, but it doesn’t turn out correctly. Because, when I click Update. It submits both values…for example: Member’s Name: Steve Smith, Jenny Smith ----(this is So WRONG)
Any suggestions will be appreciated. Thank you for help.
===CODE-===============
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form action="signup.asp" name="SubmitForm" method="post" onsubmit="AmendmentDate()">
<table id="table1">
<tr>
<td width="30" align="right" class="SmallHeadingBurg"> </td>
<td class="SmallHeadingBurg" align="left" width="180">Member's Name:</td>
<td class="regularParagraph" align="left">
<INPUT style="border:1 solid #000000" type="text" id="MemberName" name="MemberName" value="<%= (MemberName) %>" maxlength="30" size="30">
</td>
</tr>
<tr>
<td width="30" align="right" class="SmallHeadingBurg"> </td>
<td class="SmallHeadingBurg" align="left" width="180">Gender:</td>
<td class="regularParagraph" align="left">
<select style="border:1 solid #000000" name="Gender">
<option value="M">Male</option>
<option value="F"> Female</option>
</select>
</td>
</tr>
<tr>
<td width="30" align="right" class="SmallHeadingBurg"> </td>
<td class="SmallHeadingBurg" width="180">Date of Birth: </td>
<td class="regularParagraph" align="left">
<INPUT style="border:1 solid #000000" type="text" id="DateOfBirth" name="DateOfBirth" value="<%= (DateOfBirth) %>">
<span class="regularParagraph">format: mm/dd/yy</TD>
</td>
</tr>
</table>
<table>
<tr>
<td>
<INPUT type="submit" value="Add New Member" name="Submit">
</td>
</tr>
</table>
<table align="center">
<tr>
<td>
<INPUT type="submit" value="Update" name="Submit">
</td>
</tr>
</table>
</form>
</body>
</html>
I have a sign up form, which has some values inside when I view the form. For Example: Member’s Name: Steve Smith, Gender: Male, Date of Birth: 12/31/2000.
If the user wants to Add New Member, what they have to do is click “Add New Member” button, it must load the same table, but no values inside of that table. How can we do that???? ??
I’ve tried to have 2 tables, but it doesn’t turn out correctly. Because, when I click Update. It submits both values…for example: Member’s Name: Steve Smith, Jenny Smith ----(this is So WRONG)
Any suggestions will be appreciated. Thank you for help.
===CODE-===============
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form action="signup.asp" name="SubmitForm" method="post" onsubmit="AmendmentDate()">
<table id="table1">
<tr>
<td width="30" align="right" class="SmallHeadingBurg"> </td>
<td class="SmallHeadingBurg" align="left" width="180">Member's Name:</td>
<td class="regularParagraph" align="left">
<INPUT style="border:1 solid #000000" type="text" id="MemberName" name="MemberName" value="<%= (MemberName) %>" maxlength="30" size="30">
</td>
</tr>
<tr>
<td width="30" align="right" class="SmallHeadingBurg"> </td>
<td class="SmallHeadingBurg" align="left" width="180">Gender:</td>
<td class="regularParagraph" align="left">
<select style="border:1 solid #000000" name="Gender">
<option value="M">Male</option>
<option value="F"> Female</option>
</select>
</td>
</tr>
<tr>
<td width="30" align="right" class="SmallHeadingBurg"> </td>
<td class="SmallHeadingBurg" width="180">Date of Birth: </td>
<td class="regularParagraph" align="left">
<INPUT style="border:1 solid #000000" type="text" id="DateOfBirth" name="DateOfBirth" value="<%= (DateOfBirth) %>">
<span class="regularParagraph">format: mm/dd/yy</TD>
</td>
</tr>
</table>
<table>
<tr>
<td>
<INPUT type="submit" value="Add New Member" name="Submit">
</td>
</tr>
</table>
<table align="center">
<tr>
<td>
<INPUT type="submit" value="Update" name="Submit">
</td>
</tr>
</table>
</form>
</body>
</html>