How can I fix the 'return_to' form tag interfering with validation?

How can I fix the 'return_to' form tag interfering with validation?

hypobaker
Tourist
6 0 6

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

Reply 1 (1)

jjtippetts
Tourist
4 0 0

Same issue here. Did you ever find a solution?