Alix Axel Alix Axel - 6 months ago 57
Javascript Question

Parsley.js - Displaying Errors in a Specified Element

Using Parsley.js, is it possible to specify the element that should hold the error messages? I tried:

errors: {
container: {

But the error messages are still placed right after my form inputs.


I've added another data- attribute, data-parsley-errors-container="#element" that could allow you directly in dom to specify where the error messages will have to be displayed.

More info here: