BCcampus / open-sage

Theme for open.bccampus.ca
MIT License
1 stars 0 forks source link

Remove mystery Contact fields on Contact form on PROD #159

Closed paulagaube closed 5 years ago

paulagaube commented 5 years ago

Describe the bug On the live Open site (PROD), we have replaced all the content on the "Contact" page with a new Contact Form 7 form using a shortcode. Even though there is no other HTML on the page, there is now an additional, "mystery" contact form showing up on the bottom of the page. https://open.bccampus.ca/contact/

Though this extra contact form looks nice, I don't know where the information is going to, and this second form is not needed on this page.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://open.bccampus.ca/contact/
  2. Scroll down the page.
  3. There is a second "contact" form at the bottom of the page.

Expected behavior Only the Contact Form 7 "Contact" form shows on this page. The second contact form is removed.

Screenshots

OpenEdContactForm-Mystery

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

This revised page will be used on the new Open site as well. We had to launch this page to the live site now because Custom Answers is no longer being used to accept feedback from users.

alex-418 commented 5 years ago

This is a strange one... can't find what is generating this extra contact form. I suspected this could be the honeypot. However, when I disabled the honeypot plugin it had no effect... need more time to investigate what's causing this.

scooby

paulagaube commented 5 years ago

@alex-418 Jinkies! I wondered if the mystery form was linked to the page name "contact" but it also appeared on the Contact page "contact-2". I could try creating a new page with a different name with only the short code and see if that works or not.

alex-418 commented 5 years ago

@paulagaube That would be great, let me know if that resolves it please.

alex-418 commented 5 years ago

@paulagaube created a new contact form and the issue went away.

paulagaube commented 5 years ago

New contact form is here: https://open.bccampus.ca/contact-us/

We will relink old contact pages to this contact page instead today.