In the latest version of Parsley, you no longer call the API attributes "data-". Not quite sure if this is the case in your version (I know the data values ββworked in the past), but try it with the new API.
Therefore, you invoke a form other than the parsley-validate property, which is True if Set. And Constraints are invoked using parsley [restriction]. As stated on the official Parsley.js website, it is not entirely compatible with the W3C, but for some strange reason he likes it. However, it also gives a namespace definition solution for parsley to make it compatible with W3C.
If you can send the old version of Parsley, I could take a look at it too.
Attention
This answer (and possibly the question) is dated. The answer may not be valid anymore, see the comments on this answer.
source share