I just purchased the Ultimate (https://themes.getbootstrap.com/product/keen-the-ultimate-bootstrap-admin-theme/) and the Signin page uses the button below to submit the user login form. Once clicked, the button animates but doesn't submit the form. Also, the button is enclosed within the <form> tags.
Sorry for the total noob question. What am I doing wrong?
<div class="pb-lg-0 pb-5">
<button type="submit" id="kt_login_singin_form_submit_button" class="btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3">Sign In</button>
</div>
<form class="form" id="kt_login_singin_form" action="<?php echo base_url(); ?>login/doLogin" method="POST">
Hi JT,
Is your </form> tag after the </button>?
Hi,
Sorry for the late reply.
You will need to modify the login.js script in order to enable the form submit using standard submit buttons. In login.js we added form validation and process flow in order to enable ajax based login. If you need the classic login flow you can disable it in src/js/pages/custom/login/login.js
and remove the code below:
$("#kt_login_signin_submit").on("click", function (e) {
......
});
src
folder you will need to recompile it using: