I'm trying to validate form array element below but getting error. I wonder if it is set as an array because other normal elements are being validated without a problem.
Thanks in advance
ERROR
TypeError: document.formABC.textQualificationSet is undefined
JS
var textQualSubject = document.formABC.textQualificationSet[0]["Qual Subject"].value;
if(textQualSubject == ""){
alert("ERROR: Please enter at least first Qualification Subject");
return false;
}
HTML
<input type="text" name="textQualificationSet[0][Qual Subject]" value="" />