jpillora / verifyjs

Verify.js - A powerful, customizable asynchronous validation library
http://verifyjs.jpillora.com/
161 stars 61 forks source link

Submit button issue with verify.notify.min.js #22

Open jybee opened 9 years ago

jybee commented 9 years ago

I would love to use your plug-in, it's cool and nice especially for validations.

One thing i've notice (on mine) that i was having issues with submit button. Validation is okay when i tried to submit a blank field, but when i filled up the fields, i have to double click the submit button to save. Kinda weird though.

any simple solutions to this? im using jquery-1.8+ (1.8 to 1.8.3) by the way, in combination with your plug-in

jpillora commented 9 years ago

interesting, can you make a demo of this using jsfiddle/plunkr?

jybee commented 9 years ago

it seems to be working in jsfiddle demo though http://jsfiddle.net/jybee143/at5m2e39/

but in local (localhost) it seems not

though i find out the weird error upon finding that in inspect element, that is after i click submit button once (after forms are filled in), it's like forcing me to double-click to submit. Validation is ok though

error2

jybee commented 9 years ago

problem fixed by the way.. removing 'name="submit" ' from my input submit button (and changed to other name)

but now, after that, validation is still okay, but it does not save the data/info in the forms when filled in.

patrick-robin commented 9 years ago

I get the same issue when using the latest version of jQuery, the error in the console is "TypeError: s[y] is not a function" removing name="submit" from the submit buttons resolves the issue.

msteudel commented 9 years ago

Had same issue here, I also noted that even if changed the name from submit but it still had id="submit" the same problem occurred.

raul1991 commented 9 years ago

If you have to click the submit button twice to submit the form. Can you check in the browser console if you get a warning like mentioned in this issue #5