Validations in custom signup/login page

adityamertia
Visitor
2 0 1

Hello,

 

We have a usecase where we want our users to signup into our store from different channels/mediums where if they will signup/login from that channel then we treat them and handle them differently.

For this I have created custom login/signup page. After successful signup/login users are redirected to different pages on store.

Problem i am facing is if a user signup validation fails then the form redirects to ~/accounts/register to show the validation errors. I want these validations to be shown in the custom signup page. Else there will be no way to come back from ~/accounts/register to ~/pages/customsignup.

 

How do i achieve this? I am using the same ~/accounts/register form thats the default shopify 2.0 

 

Any help here will be appreciated.

 

Thanks

Aditya

Reply 1 (1)

Ethan-McRae
Visitor
2 0 0

I am also running into this issue. Anyone find a solution to this?