Avatar

Level 2

I am trying to call a function (type4) from within a FormCalc exit event:

if ($.rawValue <> "2") then

     type4.validate()

endif

But when I run the form, I get an error saying that the "script does not have a method 'validate'."

My function definitely does have a method called 'validate', see below:

function validate() {

     [...]

}

Can anyone help me identify what I'm doing wrong? Thanks for your help.

--Bruce