Hello,
i need to validate the email adress in Regristration Stepper live from my database to check, if the user already has an account. Can i submit the form and check via Ajax and if the response is false i directly jump to Step 2 to change the email adress?
Im coding in HTML, Javascript and PHP.
Thank you
Hi,
May I know which Metronic version, and build method(gulp or webpack) are you using?
Which JS script are you using from the Metronic original src/js
folder?
If you are referring to src/js/custom/utilities/modals/create-account.js
then in kt.stepper.next
event that is fired before going to the next step you can add an Ajax request to your server using Axios Library and perform the validation.
Regards.
This code is what I'm looking for. Thanks