Popup "OK" button

Creative Contact Form is a responsive jQuery contact form with amazing visual effects. You will be surprised by count of all the possible features!
Tue Jul 25, 2017 8:03 pm

  • Hello,

    is it possible please when a user clicks the "OK" button on the post-submit popup for two pages to load, instead of one? I cannot figure out how to get this javascript working (obviously with my own urls!) within creativecontactform.js for CCF Business.

    <a href="http://forum.creative-solutions.net/'" onclick="window.open('http://creative-solutions.net/joomla/creative-contact-form');return true;">
    trati
     
    Posts: 29
    Joined: Thu Apr 06, 2017 9:00 pm

Wed Jul 26, 2017 1:36 pm

  • Hi,

    If you mean the "OK" button which closes popup box after sending email, you can write a custom javascript code, to open another url when it will be clicked.

    Code: Select all
    $(document).on('click','#close_creative_alert', function() {
    window.open('http://creative-solutions.net/joomla/creative-contact-form');
    });


    You should write this code in Custom Js section, which is in template settings.
    CCF->Templates->Your Template->Custom Javascript.
    Best Regards,

    Simon
    User avatar
    Simon
    Site Admin
     
    Posts: 1496
    Joined: Wed Mar 05, 2014 1:04 am

Thu Jul 27, 2017 3:22 am

  • Thank you for the clear steps and assistance, works exactly as I hoped.
    trati
     
    Posts: 29
    Joined: Thu Apr 06, 2017 9:00 pm

Thu Jul 27, 2017 2:04 pm

  • You are welcome!
    Best Regards,

    Simon
    User avatar
    Simon
    Site Admin
     
    Posts: 1496
    Joined: Wed Mar 05, 2014 1:04 am



Return to Creative Contact Form




Information
  • Who is online
  • Users browsing this forum: No registered users and 2 guests