Commit 0c02ea09 authored by enzo's avatar enzo Committed by Jelle
Browse files

Issue #1974618 by -enzo- | Mujtaba Ahmed: Fixed Does clientside validation...

Issue #1974618 by -enzo- | Mujtaba Ahmed: Fixed Does clientside validation supports field validation module.
parent 45ea7f55
......@@ -32,11 +32,11 @@
label.html(
label.html()
.replace("[value]", $element.val())
.replace("[field-name]", $element.closest(".form-item").find('label').text())
.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