Comments (15)
First of all, thank you for building this easy to use and awesome library. But I am facing this same issue in my code.
I have noticed that the issue is related to the browser. It produces this error in FireFox 32.0. This issue doesn't come in Chrome.
from verifyjs.
Has anyone found a solution or work-around? I have started to debug it but wanted to check before I get deeper.
Thanks.
from verifyjs.
@ht512512 I am no script guy. Wanted to use this as it is very easy to add in my code in c#. However, I have not yet resolved this error. Will update or submit a pull request if solved. Hope you will do the same.
Thank you
from verifyjs.
@BhushanFirake The author has marked this issues as a bug so he is aware of it. The previous version does not have this bug so my current workaround is to fall back to the previous version. (Go to the verify.js home and "view source" and download the version included in that. )
from verifyjs.
Hey guys, sorry about the lack of support, as mentioned in #7 I still keep track of my projects, though I don't have much time to fix bugs, hence I'm looking for maintainers.
To give you guys an idea of the crux of the project.
- Form objects contain form validation state and a list of element objects
- Element objects contain element validation state and a list of validators
- Validators are functions which return true or error string
- Execution objects are basically just wrappers around jQuery promises
- FormExecution objects start FieldExecutions and GroupExecutions in parallel
- FieldExecutions objects start Validators in series
This diagram attempts to show this flow:
It'd be great if someone wanted to volunteer to be a maintainer, and if someone is willing, I've start a contributor wiki and move this summary there and expand on it where needed.
I wrote this library in 2012, so I can't remember too well though I think this bug is coming from group validations, or logic that was introduced to handle group validations. In the diagram above, the pink circles are Group validations which are dependant on each other, so in that case, the execution flow must wait until all group members (input fields) are ready to execute - hence the "Field is pending..." message.
from verifyjs.
https://github.com/jpillora/verifyjs/wiki/Contributor-Documentation
from verifyjs.
@ht512512 could you post the URL for the script you have been using? I tried the version (of both notify.js and verify.js) that is included on the Verify.js website (http://verifyjs.com/js/notify.js, http://verifyjs.com/js/verify.js) and didn't have any luck.
Casey
from verifyjs.
@CAYdenberg
Sorry, I don't have that handy anymore since I moved away from that workaround and went back to the latest version. The better work around for me was to use ajax submit. That works fine with the latest version of verify-notify.js. You do have to call verify() method from javascript though.
from verifyjs.
Yes, that's what I've ended up doing, too. Would be nice to have the fallback but I guess if JS is disabled verify just won't work :)
from verifyjs.
@CAYdenberg
Agree.
Just noticed an error in my workaround description. I meant to say, "You do have to call validate() method from javascript though."
from verifyjs.
I have a same issue, anyone with luck?
from verifyjs.
I found a solution, in the object "ValidationForm" on the "init" method remove the line "$(document).ready(this.domReady);" and it will work. Was the solution for me
from verifyjs.
No it wont work i tried.,,,
from verifyjs.
I have the same issue :-(
from verifyjs.
This usually happens when you have hidden fields in your form. When you take them outside the form it works(atleast in my case). @vladzaets
from verifyjs.
Related Issues (20)
- verification success handler HOT 4
- Empty error message for "required" rule HOT 1
- it works, but hides the form?
- Validation deletes pressed button from the POST request HOT 1
- i18n
- How to make validation message appear next to "Submit" button? HOT 1
- Cannot use `$.verify.updateRules`
- Validate on select
- problem wiith angularjs on submit
- specify custom error message as an attribute HOT 2
- wrong rule name
- Is it possible to add conditional verification HOT 4
- Link for new issues is dead at http://verifyjs.com/#contributing
- Have a "debug" / "Troubleshooting" section of the documentation.
- Causes two submits
- The 'scroll' option is not working
- Website is down, unable to find docs. HOT 2
- Successor project HOT 1
- Add option for timeout value
- Verifyjs for react
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verifyjs.