Contact Page form.posted_successfully not firing

Highlighted
Tourist
9 0 0

Hello and good day!

I have a question about this bug on my shop my contact form has a reCaptcha and form.posted_successfully is not working properly after submitting the reCaptcha.

I want to show success message once the contact form is submitted or the reCapthca is submitted but the url is redirecting to the same url without the ?customer_posted=true. 

After submitting reCaptcha it should fire the url/pages/contact?customer_posted=true, but on my end it's not working...

link: https://www.designersholidaybazaar.com/pages/contact password is in the title of the link just hover it.

 

0 Likes
Highlighted
Explorer
81 8 11

can you check your theme code? 

 

under the template/page.contact.liquid

 

{% form 'contact' %}

{% comment %} add code under the form  {% endcomment %}

{% if form.posted_successfully? %}
              <p class="note form-success">
                {{ 'contact.form.post_success' | t }}
              </p>
  {% endif %}

 {{ form.errors | default_errors }}

  add this code into  

0 Likes