return_to form tag preventing validation

hypobaker
Tourist
6 0 2

I'm using the "return_to" form tag (as detailed here: https://shopify.dev/api/liquid/tags/theme-tags#form-return-to) to redirect newly registered customers to a welcome landing page, but it doesn't work properly. All it does it turn the submit button into a link to that page. Meaning it prevents any validation and goes directly to that page even if the form was left completely blank. How do I fix this? I'm using the form straight from the Dawn theme with no code edits (other than return_to).

Thanks

Replies 2 (2)
katarinacx
New Member
3 0 0

I'm also having this problem and is super frustrating as it "seems" to be working for everyone else unless now the return_to has been deprecated

gerardm
New Member
1 0 0

I am seeing the same thing. No error messages / validation are displayed using either the return_to: format or manually putting the <input> into the form.