Hi list,

I am looking for a long time now about writing the error the formvalidation script founds in the form which consists of table.

For example if userid or group (first td) id emty (td2) I woul like to display 'Error: empty' in the third td.

I googled around but could not find a way to do it and alert() is ugly and unclear because I have a lot of validations to do

Could somebody help?

It would greatly appreciated.

j@n


The HTML is quite simple:

<form name="RACF-Access" onsubmit="Validateform()">
<table border=1">
<colgroup>
<col width="15">
<col width="*44">
<col width="156">
</colgroup>
<tr>
<th>Description</th>
<th>Data</th>
<th>Information</th>
</tr>
<tr>
<td>Userid or group</td>
<td><input type="text" size="8" name="userid"></td>
<td type="text" id="e_id"></td>
<tr>
<td>Autority</td>
<td><select name="authority">
<option value="CHECK">CHECK</option>
<option value="READ">READ</option>
<option value="UPDATE">UPDATE</option>
<option value="CONTROL">CONTROL</option>
<option value="ALTER">ALTER</option>
<option value="EXECUTE">EXECUTE</option>
</select>
</td>
<td><DIV name="a_autr"</DIV</td>
</tr>
<tr>
<td>Class</td>
<td><input type="text" size="8" name="class"></td>
<td><DIV name=e_class"</DIV</td>
</tr>
<tr>
<td>Resource</td>
<td><input type="text" size="44" name="resource"></td>
<td><DIV name=e_resource</DIV</td>
</tr>
</table>
<p><img src="./images/jan Einst.Neubauten.jpg" alt="Einst. Neubauten" widtr="159" height="156" align="middle"/></p>
<input type="submit" value="Check Access">
</form>