I'd like to trigger this function when the user inputs their code and hits submit.
Where am I going wrong?
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.
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023