Announcement

Collapse
No announcement yet.

Issue after submitting with contact form Thank You page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Issue after submitting with contact form Thank You page

    My website has a contact form, one that I think comes built in with Base readytheme (might be wrong on that), however whenever I or someone submits using the form, this page comes up: http://www.lightsonretail.com/THANKY...l?form=contact. The email gets sent, and is received no problem, but I'd like there to be a sort of "thank you" message that pops up.

    I've looked around the CTUS page, but haven't seen anything weird. Would this be getting caused by something in the javascript, or the contactForm.php, or something else? Is there a simpler way of integrating contact forms into my store page?

    Thanks!

    #2
    Also, apologies for the title of this post making next to no sense. "Issues with the Thank You page after submitting with contact form" might have worked better

    Comment


      #3
      Check to see if you have a thank you page in your page list. The Base ReadyTheme should ship with one.
      Matt Zimmermann

      Miva Web Developer
      Alchemy Web Development
      https://www.alchemywebdev.com
      Site Development - Maintenance - Consultation

      Miva Certified Developer
      Miva Professional Developer

      https://www.dev4web.net | Twitter

      Comment


        #4
        Okay, yeah we have one, but I'm not sure why it's not working. I assume it is the original code, cause I don't think we've touched it in years. Is there some way I can share the code with you/what should I look for to see what the issue is?

        Comment


          #5
          It looks like you are using the original long-form URLs on the site. The form processor assumes you are using short links. You can update the processor to fit your site by changing:
          Code:
          Location: /thank-you.html?form=contact
          Location: /errors.html?form=contact&pbm=sent
          Location: /ERRORS.html?form=contact&pbm=time
          to...
          Code:
          Location: /Merchant/merchant.mvc?Screen=THANKYOU&form=contact
          Location: /Merchant/merchant.mvc?Screen=ERRORS&form=contact&pbm=sent
          Location: /Merchant/merchant.mvc?Screen=ERRORS&form=contact&pbm=time
          Matt Zimmermann

          Miva Web Developer
          Alchemy Web Development
          https://www.alchemywebdev.com
          Site Development - Maintenance - Consultation

          Miva Certified Developer
          Miva Professional Developer

          https://www.dev4web.net | Twitter

          Comment


            #6
            Where do you see that? I can't find:
            Location: /thank-you.html?form=contact Location: /errors.html?form=contact&pbm=sent Location: /ERRORS.html?form=contact&pbm=time in the CTUS or THANKYOU pages. Where do I go to change those lines?

            Comment


              #7
              Those would be located in your contactForm.php file. You can find it by connecting to your site through FTP and navigating to mm5/themes/base/forms/
              Matt Zimmermann

              Miva Web Developer
              Alchemy Web Development
              https://www.alchemywebdev.com
              Site Development - Maintenance - Consultation

              Miva Certified Developer
              Miva Professional Developer

              https://www.dev4web.net | Twitter

              Comment


                #8
                Perfect! That worked! Thank you. I found the contactForm.php in my.miva by going to the httpdocs folder -> Merchant -> Forms

                Comment

                Working...
                X