amoffat/bootstrap-application-wizard

undefined is not a function for validation

Opened this issue · 1 comments

Love this plugin, everything works well except the validation part. It works perfectly in the demo but not in my code for some reason.
I get Uncaught TypeError: undefined is not a function bootstrap-wizard.js:273

line 273 is:
var vret = windowv;

any reason anyone can think of why this could be happening?

Hi @jamiehall84 you are facing this issue as you have not written validation function mentioned in form element. Code is trying to find that function and is not able to find that function so it is raising "TypeError..."

For example:

<input type='text' ... data-validate='functionToValidate'>

if you don't write function functionToValidate then it will raise error.

Try it and let me know