How to Move Validation Error Message from Top to Bottom of Form

image

Nevermind! This code works.

//change your view
$(document).on(“knack-view-render.view_xx”, function (event, view, data) {
Knack.$(#${view.key} form).on(“submit”, function () {
setTimeout(() => {
if (Knack.$(“.kn-message.is-error”)) {
Knack.$(“.kn-submit”).after(Knack.$(“.kn-message.is-error”));
}
}, 1000);
});
});

1 Like