bootstrap-application-wizard icon indicating copy to clipboard operation
bootstrap-application-wizard copied to clipboard

undefined is not a function for validation

Open jamiehall84 opened this issue 11 years ago • 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?

jamiehall84 avatar Nov 06 '14 15:11 jamiehall84

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

Aayush-Kasurde avatar Apr 14 '15 16:04 Aayush-Kasurde