Why this validation not working?

Hi

I am trying to validate form field form using JQuery validate but its not working

The web browser console shows the following issue, with your code:

Uncaught ReferenceError: wrapper is not defined

I have already defined class that wrapper variable trying to reference

You have defined it somewhere that the other function doesn’t have access to.
You will need to define it at a different place, that both functions can reach. Knowledge of scope will help you here.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.