A user implemented a Shopify Forms app that provides discount codes upon submission, but the form continues to display to customers who have already submitted it.
Proposed Solution:
Replace the Shopify Forms app block with a “Custom liquid” section
Use conditional logic to check for a customer tag (e.g., “form-submitted”) that the Forms app assigns after submission
Wrap the form HTML in Liquid code that only displays if the customer doesn’t have the submission tag
Implementation Details:
Extract the form’s HTML from “View page source” where the app block outputs it
Use {% unless customer.tags contains "form-submitted" %} to conditionally show/hide the form
The solution has been tested and confirmed working for inline forms
Popup forms have not yet been tested with this approach
Status: Solution provided with working code example; awaiting confirmation if popup functionality is also needed.
Summarized with AI on October 24.
AI used: claude-sonnet-4-5-20250929.
Can you please provide the store URL? Also, once the form is submitted, do you want to hide the form and in place of that do you want to show something else? If not, can you please confirm if you want to hide the form completly?
You can use “Custom liquid” section instead of an App block.
Forms app can assign a tag if customer submitted the form, so you can use this tag to check and either output required HTML or not.
I’ve taken HTML from the “View page source” as it was output by the App block.
Say, for my store and inline block I can use code like this in “Custom Liquid” section: