Hello latypov2
Apology for the inconvenience. It will be fixed in the next update. Please use this JavaScript to Template Options -> Custom Code -> Custom JavaScript
jQuery(function($) {
// floating form
$(".form-control").on(
"focus",
function() {
if ($(this).prev()[0].localName === "label") {
$(this).prev().addClass("focused");
}
if ($(this).prev()[0].localName === "span") {
$(this).parent().parent().prev().addClass("focused");
}
}
);
$(".form-control").on(
"blur",
function(e) {
if ($(this).val().length === 0) {
if ($(this).prev()[0].localName === "label") {
$(this).prev().removeClass("focused");
}
if ($(this).prev()[0].localName === "span") {
$(this).parent().parent().prev().removeClass("focused");
}
}
}
);
});
Best regards