Is it possible to call a function where part of the name is a string that can change?

In this code I'm checking if elements with a certain class name exist in the form. If they do I want to validate it.

my function name will be ValJs.validate_ + ValJs.inputClassNames[i] + ();

is this possible?

Code JavaScript:
validateForm: function(e){
        for(i = 0, ii = ValJs.inputClassNames.length; i < ii; i++){
            // check if ValJs.inputClassNames[i] is in the form
            if($('.' + ValJs.inputClassNames[i], this).length > 0){
                // a form element with class name [i] was found in the form, go validate all of them
                ValJs.validate_ + ValJs.inputClassNames[i] + ();