Commit e668bcff authored by Jelle Sebreghts's avatar Jelle Sebreghts
Browse files

Issue #2564831 by rodrigoaguilera: Replacement patterns are not replaced in...

Issue #2564831 by rodrigoaguilera: Replacement patterns are not replaced in the clientside validation for field validation
parent 7059ecc9
......@@ -32,6 +32,7 @@
label.html(
label.html()
.replace("[value]", $element.val())
.replace("[length]", $element.val().length)
.replace("[field-name]", $element.closest(".form-item").find('label').first().text().replace(' *',''))
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment