<html>
<head>
<title>HTML Frames Example - Content</title>
<link href="css/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../formvalidator/chars/jsafv_messages.js"></script>
<script type="text/javascript" src="../formvalidator/chars/diactric_chars_utf8.js"></script>
<script type="text/javascript" src="../formvalidator/form.scripts.js"></script>
<script type="text/javascript">
var jsFormValidator = new FormValidator();
</script>
<script type='text/javascript' src='js/general.js'></script>
</head>
<body>
<h4>Validation of "integer" fields</h4>
<form name="frmTest" action="result.html" method="get" style="padding:5px;">
<table cellSpacing="0" cellPadding="0" border="0" valign="top">
<tbody>
<tr>
<td align="left">Integer #1<FONT color="#ff0000">*</font> (riInteger):</td>
<td width="8"> </td>
<td align="left"><input size="18" title="Integer #1" type="text" maxLength="25" name="riInteger"> <label class='note'>Required field. Type: integer. Sub-type: none.</label></td>
<td width="8"> </td>
</tr>
<tr>
<td align="left">Integer #2 (siInteger):</td>
<td width="8"> </td>
<td align="left"><input size="18" title="Integer #2" type="text" maxLength="25" name="siInteger"> <label class='note'>Optional field. Type: integer. Sub-type: none.</label></td>
<td width="8"> </td>
</tr>
<tr>
<td align="left">Integer #3 (sisInteger):</td>
<td width="8"> </td>
<td align="left"><input size="18" title="Integer #3" type="text" maxLength="25" name="sisInteger"> <label class='note'>Optional field. Type: integer. Sub-type: signed.</label></td>
<td width="8"> </td>
</tr>
<tr>
<td align="left">Integer #4 (siuInteger):</td>
<td width="8"> </td>
<td align="left"><input size="18" title="Integer #4" type="text" maxLength="25" name="siuInteger"> <label class='note'>Optional field. Type: integer. Sub-type: unsigned.</label></td>
<td width="8"> </td>
</tr>
<tr>
<td align="left">Integer #5 (sipInteger):</td>
<td width="8"> </td>
<td align="left"><input size="18" title="Integer #5" type="text" maxLength="25" name="sipInteger"> <label class='note'>Optional field. Type: integer. Sub-type: positive.</label></td>
<td width="8"> </td>
</tr>
<tr>
<td align="left">Integer #6 (sinInteger):</td>
<td width="8"> </td>
<td align="left"><input size="18" title="Integer #6" type="text" maxLength="25" name="sinInteger"> <label class='note'>Optional field. Type: integer. Sub-type: negative.</label></td>
<td width="8"> </td>
</tr>
<tr><td colSpan="7"> </td></tr>
<tr>
<td align="middle" colSpan="7">
<input type="reset" value="Reset" name="butReset" />
<input onclick="return jsFormValidator.onSubmitCheck(document.forms['frmTest'])" type="submit" value="Submit" name="butRegister">
</td>
</tr>
</tbody>
</table>
</form>
<hr>
<h4>Code</h4>
<pre>
<INPUT type="text" name="riInteger" title="Integer #1" maxLength="25" />
<INPUT type="text" name="siInteger" title="Integer #2" maxLength="25" />
<INPUT type="text" name="sisInteger" title="Integer #3" maxLength="25" />
<INPUT type="text" name="siuInteger" title="Integer #4" maxLength="25" />
<INPUT type="text" name="sipInteger" title="Integer #5" maxLength="25" />
<INPUT type="text" name="sinInteger" title="Integer #6" maxLength="25" />
</pre>
</body>
</html> |