Closed bakura10 closed 1 year ago
Hi,
The following code is used to goes around limitation in Liquid form to get the status without outputting an actual form (Liquid should provide better solution, but for now this is the only approach I found):
{%- capture temporary -%} {%- form 'customer', id: newsletter_id, class: 'form' -%} {%- assign posted_successfully = form.posted_successfully? -%} {%- endform -%} {%- endcapture -%} <newsletter-popup {% if posted_successfully %}open{% endif %}> </newsletter-popup>
Error:
Hi,
The following code is used to goes around limitation in Liquid form to get the status without outputting an actual form (Liquid should provide better solution, but for now this is the only approach I found):
Error: