Ajaxify and two forms

Home Forums Quform PHP Ajaxify and two forms

This topic is: resolved
Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • #18476
    transam
    Participant

    Hi Ally,

    I asked a question day’s ago is it possible to have a look at it please?

    Thanks & Regards,

    David

    #18486
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #18492
    transam
    Participant

    Hi Ally,

    Have a problem with a guest book that disturbs the functioning of the 2 other forms.

    The problem occurs when I load the guest book page click SUBMIT and after that go to the “CONTACT” or “RESERVEREN” page.

    The two forms are:

    http://libeek-1.yourweblab.nl/reserveren.php
    http://libeek-1.yourweblab.nl/contact.php

    The guest book is here:

    http://libeek-1.yourweblab.nl/gastenboek.php

    Hope you understand the problem!

    Regards and thanks,

    David

    #18499
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #18508
    transam
    Participant

    Hi Ally,

    Thanks for you reply!

    The problem is that when I put a review on http://libeek-1.yourweblab.nl/gastenboek.php page or only click submit on that page and then go to http://libeek-1.yourweblab.nl/contact.php or http://libeek-1.yourweblab.nl/reserveren.php and put in a message and click submit the green pop up with the message: “your mail is send” doesn’t appear and the send animation next to the submit button keeps on going. (it sends the mail, but doesn’t say it sends it!)

    Also when you only click submit and don’t fill in the contact form you see that all the pop ups are missing that normally warn for a empty or wrong filled in field.

    • This reply was modified 8 years, 8 months ago by transam.
    Attachments:
    You must be logged in to view attached files.
    #18512
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #18519
    transam
    Participant

    Hi Ally,

    Thanks for your reply!

    After putting a message on the guestbook and then going to “CONTACT” and click submit gives in
    the Chrome console:

    VM298:309 Uncaught TypeError: $.handleError is not a functioncb @ VM298:309

    The same message appears in the console after submitting the “RESERVEREN” page

    Regards and thanks!

    David

    #18522
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #18524
    transam
    Participant

    Hi Ally,

    What about trying to update the form script on the guest book page?

    Does that make any sense to try?

    Regards and thanks!

    David

    #18528
    transam
    Participant

    Hi Ally,

    I updated the fom.js with the latest version and now all problems are gone!

    Thanks so much for the support.

    Regards and thanks!!!

    David

    • This reply was modified 8 years, 8 months ago by transam.
    #20088
    transam
    Participant

    Hi

    In the head.js file, add a check that Quform is on the page first before trying to set up the forms like this:

    if ($.isFunction($.fn.Quform)) {
    $(‘form.quform’).Quform();
    }

    This way it will only be run if the quform/js/plugins.js file is on the page too.

    If the ajaxify plugin doesn’t load the JS and CSS files from other pages when transitioning you might need to add the Quform JS/CSS to all pages, otherwise if you go from a non-form page to a form page it will not work.

    Ally

    Hi Ally,

    Is there no way to work with 2 forms and not having to link to the Quform scripts on the pages with no form, because this cost a enormous amount of bandwidth? I’m talking about a Ajaxify website like this:
    http://www.hofvanlibeek.nl

    Thanks & Regards,

    David

    #20096
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #20097
    transam
    Participant

    Thanks!
    David

Viewing 13 posts - 16 through 28 (of 28 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy