ohg123
10-26-2009, 06:25 PM
Here is the rough draft which works with my PHP and validation fine"
<form method="POST" action="contact.php">
<table border="4" cellpadding="2" cellspacing="2">
<tr>
<td colspan="2" align="center">
Fields marked (*) are required
</td>
<tr>
<tr>
<td width="30%">
Member Name:
</td>
<td width="70%">
<input type="text" name="Name">
</td>
</tr>
<tr>
<td>
Email Address:*
</td>
<td>
<input type="text" name="EmailFrom">
</td>
</tr>
<tr>
<td>
Member Number:
</td>
<td>
<input type="text" name="MemberNumber">
</td>
</tr>
<tr>
<td>
Number in Party:
</td>
<td>
<input type="text" name="NumberinParty">
</td>
</tr>
<tr>
<td>
Comments or questions:
</td>
<td>
<input type="text" name="Comments">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="Submit">
</td>
</tr>
</table>
</form>
but if you change <input type="text" name="Comments">
to <textarea name="Comments">
the whole form and table falls apart... but i need a textarea for comments
i had zero problems with my php or javascript but this is holding me up and i am too tired and sleep deprived to fix it at this point.
please advise.
<form method="POST" action="contact.php">
<table border="4" cellpadding="2" cellspacing="2">
<tr>
<td colspan="2" align="center">
Fields marked (*) are required
</td>
<tr>
<tr>
<td width="30%">
Member Name:
</td>
<td width="70%">
<input type="text" name="Name">
</td>
</tr>
<tr>
<td>
Email Address:*
</td>
<td>
<input type="text" name="EmailFrom">
</td>
</tr>
<tr>
<td>
Member Number:
</td>
<td>
<input type="text" name="MemberNumber">
</td>
</tr>
<tr>
<td>
Number in Party:
</td>
<td>
<input type="text" name="NumberinParty">
</td>
</tr>
<tr>
<td>
Comments or questions:
</td>
<td>
<input type="text" name="Comments">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="submit" value="Submit">
</td>
</tr>
</table>
</form>
but if you change <input type="text" name="Comments">
to <textarea name="Comments">
the whole form and table falls apart... but i need a textarea for comments
i had zero problems with my php or javascript but this is holding me up and i am too tired and sleep deprived to fix it at this point.
please advise.