For each validation routine you add you also add a new parameter to the CheckForm() list of in parameters. You might not use all of them so it would preferable to provide the means to give only the arrays you need checked and it figures out which ones to call.
To do this we would have an in parameter that contains all the arrays in a 2 dimension array. Dimension 1 would be the array name expected by CheckForm and the second dimension would be the array that would end up being passed to the validation routine.
Log in to post a comment.