Listing 2 Generated HTML
<link rel="stylesheet" type="text/css" \
href="syntacticValidationFramework.css" /> (1)
<script type="text/javascript" \
src="syntacticValidationFramework.js"></script> (1)
<script type="text/javascript"
src="form.Example.js"></script> (1)
<form name=data method=post action="process.Example.php"
onSubmit="return validate(this) ;"> (2)
<table name=dataTable id=dataTable border=1 cols=2>
<tr>
<td colspan=2>
* Required Field
</td>
</tr>
<tr id=errorRow> (3)
</tr>
<tr>
<td><span id="spanFirst_name" class="inline">*
first_name</span></td>
<td>
<input name="first_name" id="first_name" type=text size=40 maxlength=50 \
required="first_name is required" validate="return \
validateFirst_name(what)" value=""> </td> (4)
</tr>
<tr>
<td><span id="spanTrans_time"
class="inline">trans_time</span></td>
<td>
<input name="trans_time" id="trans_time" type=text size=10 \
maxlength=10 required="" validate="return validateTrans_time(what)" \
value=""> </td> (5)
</tr>
<tr>
<td align=center colspan=2> (6)
<button name=save id=save type=submit>Save</button>
<button name=new id=new type=button onClick="window.location.search='?action=new'">New</button>
<button name=reload id=reload type=button onClick="window.location.search='?action=reload'">Reload</button>
</td>
</tr
</table>
</form> |