Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Validations in custom signup/login page

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?