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.


The HTML is quite simple:

<form name="RACF-Access" onsubmit="Validateform()">
<table border=1">
<col width="15">
<col width="*44">
<col width="156">
<td>Userid or group</td>
<td><input type="text" size="8" name="userid"></td>
<td type="text" id="e_id"></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>
<td><DIV name="a_autr"</DIV</td>
<td><input type="text" size="8" name="class"></td>
<td><DIV name=e_class"</DIV</td>
<td><input type="text" size="44" name="resource"></td>
<td><DIV name=e_resource</DIV</td>
<p><img src="./images/jan Einst.Neubauten.jpg" alt="Einst. Neubauten" widtr="159" height="156" align="middle"/></p>
<input type="submit" value="Check Access">