Confirmation message or pop-up after customer account creation

Hi all. I’m trying to add some sort of confirmation message after creating an account on a password.liquid page, but nothing I’ve tried has worked. The page is here: https://www.theloved.one

I’m building it on top of an old Pipeline theme that’s been modified quite a bit. The original password.liquid page just had an email field (the ‘customer’ form) that you could fill in and it would be replaced by a simple text message, which works totally fine. However when I try to use the same code with the larger ‘create_customer’ form, nothing happens. And since this is the homepage, it’s just redirecting to itself, so the fields clear and the account is created successfully, but there’s no way for the user to tell that their account was successfully created, or that anything happened at all.

This is the email-only ‘customer’ form that was part of the original theme:

{% form 'customer' %}
                {{ form.errors | default_errors }}
                {% if form.posted_successfully? %}
                  

{{ 'general.password_page.signup_form_success' | t }}

                {% else %}
                  
                  
                  

                    
                    
                      
                    
                  

                {% endif %}
              {% endform %}

This is the form where I’m trying to add some sort of notification. The ‘if form.posted_successfully’ action isn’t working, I think because the Recaptcha is preventing the page from redirecting to "https://theloved.one/password?customer_posted=true#contact_form", which is what happens when using the email-only form. This form just stays on the ‘/password’ page without the suffix.

{% form 'create_customer' %}

        {{ form.errors | default_errors }}
		{% if form.posted_successfully? %}
        

{{ 'general.password_page.signup_form_success' | t }}

        {% else %}
        
        

        
        

      	
        
      
        
        

        
        

        

          
        

		{% endif %}
      {% endform %}

I feel like this is something that should be very simple to fix. I’m not a coder, but I’m familiar-ish with adding custom code to all these theme files. And to be clear, I don’t want to keep that email field once I get the full registration form working, it’s just there for testing purposes right now. Any help would be very very welcome!

@TheLovedOne-CA - have you had any luck with this yet?

I tried to complete the form you linked, but I received an error about the password I had just created, which seemed strange to me. Maybe that’s the storefront password?

If you’re still stuck on this, you may find an app to be an easier solution. If you want to collect custom fields during registration (Tax ID, business address, etc.) using a third-party app is most likely necessary (see thread).

If you are open to using an app, you can use the Customer Fields app to display a confirmation message after customer account creation (learn how).

I see that you’re creating a wholesale form. Customer Fields also offers many other features to help manage the wholesale signup process, including an account approval feature.

You may also find our blog post on this topic to be helpful: https://heliumdev.com/blog/restrict-access-membership-pages

Please let me know if I can offer any additional assistance!