0

I would like to get these variables, I see in the magento structure that there are these data calls, and I would like to know how to call them from another javascript file

and I don't understand what $elm corresponds to.

thanks in advance

enter image description here

2
  • Which JS file do you want to get these variables from? Which case (JS event) do you need to use these variables?
    – Tu Van
    Nov 8, 2022 at 1:16
  • It solved I don't need it anymore
    – Kevin ami
    Nov 8, 2022 at 9:00

1 Answer 1

0

To check if password is valid in checkout, you can check by error list :

$('.amcheckout-form-login').validate().errorList.length > 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.