All things Shopify and commerce
Can someone help me please?
I want to have a contact form that leads to another page when submitted.
The point is to retrieve customer's information and once they enter their details, they have access to our free resources.
The contact form built into Shopify is barely customizable...
Solved! Go to the solution
This is an accepted solution.
Please share with me the URL of the page contains that contact form, then i can adjust the code by add some condition and make it work only for that form.
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @jinuralite
This is Noah from PageFly - Shopify Page Builder App
Please add this code to your contact-form.liquid below the {%- if form.posted_successfully? -%} to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: search for the contact-form.liquid and paste this code below this position like this screenshot
<script>
setTimeout(() => {
window.location.href='https://www.google.com/'
console.log('change 3000 if you want to change the delay time')
},3000)
</script>
Hope this can help you solve the issue
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Thanks for your response.
Will this be applied to all contact forms on the website? I want it for one specific contact form.
This is an accepted solution.
Please share with me the URL of the page contains that contact form, then i can adjust the code by add some condition and make it work only for that form.
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024