Fix validazione attributo required

This commit is contained in:
Pek5892 2023-07-26 16:14:27 +02:00
parent 72790d5fe5
commit 8393a80613
1 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,11 @@ function init() {
CKEDITOR.instances[instance].on("change", function (e) {
for (instance in CKEDITOR.instances) {
CKEDITOR.instances[instance].updateElement();
$('form').parsley().validate();
$('form').each(function () {
if ($(this).attr('novalidate') == undefined) {
$(this).parsley().validate();
}
});
}
});
});