Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all,
I really need help on this.
So I have a form which is submitted:
<form name="forminput"> <input id="formid" name="inputname" value=""> </form>
Once it is submitted (done automatically using js), I want to assign that value to a variable but no luck so far... What I've tried but didn't work is:
{% assign variable = form.body %}
{% assign variable = form[formid] %}
{% assign variable = form.body.formid %}
Really need help! Not sure what to try anymore... I can see the form was submited on the url, however the variable has no value as I'm test printing the variable on a h1 tag and it keeps empty...
Please help, thank you!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024