Contact Form Problems

Home Forums Monogram Site Template Contact Form Problems

This topic contains 10 replies, has 2 voices, and was last updated by  ab-themes 8 years, 9 months ago.

Viewing 10 posts - 1 through 10 (of 11 total)
  • Author
    Posts
  • #9103

    daraclare
    Participant

    Hi, I have followed the instructions in the folder “DOCS/index.html#contact”, however, I still cannot get the contact form to work, I think I may need to edit the actual HTML file as the button does not seem to submit, but I cannot see where, I’d appreciate any advice you can offer.

    I have added the url in the ‘private data’ area and uploaded the relevant files.

    Many thanks in advance.

    #9131

    ab-themes
    Keymaster

    Hi,

    contact form isn’t working because you have this error:

    Uncaught TypeError: $(...).gMap is not a function

    and this is happening because you have deleted this file(see in the private content).
    You need to get it back or if you don’t use gmap in this site then you can remove
    this code from custom.js :

    // Google map
        $('#map').gMap({
            maptype: 'ROADMAP',
            zoom: 16,
            // position at will map be centered (lat and long or address)
            latitude: 53.561032,
            longitude: -6.660445,
            // address:'Kilmessan, Meath',
            scrollwheel: false,
            markers: [
                {   
                    //position of marker (lat and long or address)
                    // latitude: 53.561032,
                    // longitude: -6.660445,
                    address: '4 Bective Park, Kilmessan, Meath',
                    html: '<p style="text-align: center;"><strong>Automotive Retail and Services</strong><br>Our Street 555, Our City, State</p>',
                    icon: {
                        image: "images/gmap-pin.png",
                        iconsize: [105, 105],
                        iconanchor: [52,58]
                    }
                }
            ]
        });

    Best Regards

    #9135

    daraclare
    Participant

    Thanks for your reply, I have removed the // Google map code from custom.js, unfortunately the form appears to work, and goes to the welcome.php page, whether any text is input or not, and no email is sent.

    #9143

    ab-themes
    Keymaster

    Probably because there is another error:
    Uncaught TypeError: $(...).placeholder is not a function
    try to remove this line:
    $('input, textarea').placeholder();
    also in custom.js

    #9148

    daraclare
    Participant

    I’m afraid this did not work, in fact it is not sending at all now. I have not reverted it back so you can see what I mean. I have tried it in Chrome and Safari on mac.

    #9229

    daraclare
    Participant

    Hi, can someone help me with this issue? As it is, the website is up but the contact form is not working. Can someone give me some advice on this?

    Thanks

    #9239

    ab-themes
    Keymaster

    Hi,

    we’re sorry to keep you waiting.
    Contact form will not work because your site is missing a lot of files
    Here is the messages:

    GET http://oconnorplumbing.ie/css/font-awesome.css 
    contact.html:160 GET http://oconnorplumbing.ie/js/jquery.event.drag-2.2.js 
    contact.html:161 GET http://oconnorplumbing.ie/js/jquery.event.drop-2.2.js 
    contact.html:162 GET http://oconnorplumbing.ie/js/jquery.inview.min.js 
    contact.html:163 GET http://oconnorplumbing.ie/js/jquery.gmap.min.js 
    contact.html:164 GET http://oconnorplumbing.ie/js/jquery.placeholder.min.js 
    contact.html:165 GET http://oconnorplumbing.ie/js/superfish.js 

    you have made changes and all of this files are missing, please fix this.

    #9240

    daraclare
    Participant

    Hi, thank you for your reply. I have added these files, and the form is now working, thank you. However, when I receive the mail is it from “[email protected]” instead of from the individuals email address, is there anyway to change this?

    #9266

    ab-themes
    Keymaster

    As we can see your form has action on welcome.php and our has only #.
    If you are using welcome.php file then this file must have the same settings as sendmail.php file.
    Please check this, thank you.

    #9271

    daraclare
    Participant

    Somehow the form has stopped working properly now, it sends the mail, but does not give errors if items are not completed properly, and does not go to the welcome.php page so it looks as if no form was sent. Any help would be much appreciated as I’m finding this form very frustrating to use.

Viewing 10 posts - 1 through 10 (of 11 total)

The topic ‘Contact Form Problems’ is closed to new replies.