I would like to set the onSubmit of the form in question to execute a
function within the class. This has been much harder than I would have
expected.

this.ReqForms.each(function(ReqForm, loc, ReqForms) {
     ReqForm.setProperty("onSubmit", "return this.ValidateForm()");
 }.bindWithEvent(this));

I have also attempted setting it to "return
myValidator.ValidateForm()". That is the name I use to instantiate the
class.

Thanks for any help

Reply via email to