Since I am using Indexed tag, my form gets the the following structure <form name="currentForm" method="POST" action="/FALS/displaylog.do">
<td align=left><input type="text" name="actHour[1].faHrsDay1" maxlength="4" size="6" value="0.0" onchange="update(1,1,3)"> <form> the update function is in JavaScript where I want to do some check. How to I access the form element? document.currentForm.actHour[1].faHrsDay1.value=1+1+3 does not work. error message from JavaScript is as follows. actHour1 is not an object HELP !!!! _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>