Is there a way to lead the contact button to another page?

Solved
jinuralite
Explorer
69 0 9

I have a 'send' button on this contact form and I want it to lead to another page. How do I do that? 


I also want to change the button from saying 'send' to 'submit'

 

my URL: https://050086.myshopify.com/pages/specifications

Screenshot 2023-09-19 143907.png

Accepted Solution (1)
PageFly-Noah
Globetrotter
561 130 130

This is an accepted solution.

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>
 

 

PageFlyNoah_0-1695194748472.png

 

 

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.

View solution in original post

Replies 2 (2)
Dan-From-Ryviu
Shopify Partner
5570 1021 1053

Hi @jinuralite 

You can change Send text from Online store > Themes > Edit default theme content

Screenshot 2023-09-19 at 09.45.31.png

find Send text in Templates and change it Screenshot 2023-09-19 at 09.47.13.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

PageFly-Noah
Globetrotter
561 130 130

This is an accepted solution.

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>
 

 

PageFlyNoah_0-1695194748472.png

 

 

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.