Liquid, JavaScript, themes, sales channels
I'd like to trigger this function when the user inputs their code and hits submit.
Where am I going wrong?
Thanks!
Eddie
I am getting the following error:
q-bar-validate:1494 Uncaught ReferenceError: querycode is not defined
at HTMLInputElement.onclick (q-bar-validate:1494)
It's likely because the function is defined after the <form> block. Try to move it before.
User | RANK |
---|---|
23 | |
21 | |
8 | |
8 | |
8 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023