JavaScript code that allows me to count the numbers of text fields that have contents in them.
Hello, I am trying to find a JavaScript code that allows me to count the numbers of text fields that have contents in them.
I was able to do it for check boxes using the following code:
Var sum = 0;
for (var i = 1; i < 70; i +=) {
if (getField("V" + i).value == "Yes") {sum += 1}
event.value = sum;
}
