Hello everyone! I'm new to these forms and (very new to) JS. I hope someone can help.

What I am trying to do is have a form in a table validate in the same order as the tab order. The form is in a table with three columns. There are a few fields in each column below each other. They are not in separate cells. (Spacing issues when they are in their own cells.) Validation is working correctly, however when it is validating, it validates column by column, not by "row."

Can anyone help me get it to validate in the correct order?

Here is the JavaScript form validator

and here is the form with the calls to the script to validate: