Monday, 28 November 2011

Form in HTML for the Validation


<form id="text_form" method="" action="">
<table id= "Table_01" width="100%" class="contactformlarge">
<tr>
<td align="right" valign="top" class="required">Name*</td>
<td align="left" valign="top"><input type="text" name="Name" id="Name" value="" size="25" maxlength="128" /></td>
</tr>
<tr>
<td align="right" valign="top" class="required">Email*</td>
<td align="left" valign="top"><input type="text" name="Email" onblur="echeck(Email.value)"id="Email" value="" size="25" maxlength="128" /> </td>
</tr>
<tr>
<td align="right" valign="top" class="required">Phone</td>
<td align="left" valign="top"><input type="text" name="Phone" id="Phone" value="" size="25" maxlength="128" />(Optional)</td>
</tr>
<tr>
<td align="right" valign="top" class="required">Country*</td>
<td align="left" valign="top"><input type="text" name="Country" id="Country" value="" size="25" maxlength="128" /> </td>
</tr>
<tr>
<td align="right" valign="top" class="required">Message*</td>
<td align="left" valign="top"><textarea name="Message" cols="35" rows="5" id="Message"></textarea> </td>
</tr>
<tr>
<td> </td>
<td><input id="smitbtn" type="Button" value="Submit Form" onclick="return( Blank_TextField_Validator() && callAjax(this));" /> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>*fields Compulsory </td>
</tr>
</table>
</form>

No comments:

Post a Comment