Home Forums Porto Template contact us form issue

This topic contains 5 replies, has 2 voices, and was last updated by  Support2 2 weeks, 1 day ago. This post has been viewed 114 times

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10026919

    tmemdy
    Participant

    When the user completes the contact us form and hits submit – it opens a new blank window and displays {“response”:”success”}.

    How do I get it to remain on the contact us page and display the Success! Your message has been sent to us. above the fields?


    #10026922

    Support2
    Keymaster

    Hello, thanks for your purchase 🙂

    Probably it’s missing you add the script view.contact.js on footer of page. Please, add like the image below:

    <script src="js/views/view.contact.js"></script>

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10027001

    tmemdy
    Participant
    This reply has been marked as private.
    #10027010

    Support2
    Keymaster

    Hello,

    Thanks for the link with it we can help you better.

    Inspecting your website we saw that you is using view.contact.js of Porto 6.2.1 and your theme version is 4.7.0.
    The view.contact.js 6.2.1 it’s incompatible with Porto 4.7.0. Try changing all code of view.contact.js to this new on link below:
    http://preview.oklerthemes.com/porto/5.7.2/js/views/view.contact.js

    Please, try that and let me know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10027014

    tmemdy
    Participant

    Made the changes you advised – making progress but I now get the following when I submit the form:

    Error! There was an error sending your message.
    Could not instantiate mail function.


    #10027022

    Support2
    Keymaster

    Hello,

    Great!

    Regarding this error, probably your server don’t allow the mail() function of PHP.
    So in that case you can try send the emails using the SMTP of your server. For it, please follow the instructions on this topic:

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


Viewing 6 posts - 1 through 6 (of 6 total)