I guess I'm having issues with trying to access the form variable depthInq1 or depthInq2 by passing that number in to the function:
It is telling me it is null or not an object, when it isnt.
I've tried,
function doThis(i){
a = document.forms["ctrlPage"].elements["depthInq"+"i"];
}
a = document.getElementById(depthInq+"i")
a = document.getElementById("depthInq"+i)
I just want to assign the variables to the objects, then refer to the values later...