Support » Plugin: Contact Form 7 » Showing the contact form as an AJAX POP-UP

Viewing 6 replies - 1 through 6 (of 6 total)
  • biswajeet

    (@biswajeet)

    Of course but full ajax loading will not works straight out of the box. There are a lot of things you need to account for as well developer works required to satisfy those for proper functioning of CF7…

    At simplest, I think you can try with jQuery plugs like fancybox to wrap the form and display in popup style.

    Selmab

    (@selmab)

    Hi

    Yes i meant JQUERY instead of AJAX sorry. So with this plugin called fancybox, i may have FORM 7 as a pop-up ?

    Thank you

    davejampole

    (@davejampole)

    Selmab,

    I just tested hiding/displaying a contact form using twinpictures.de Collapse-O-Matic plus in and it does exactly what I think you are asking for. It displays whatever text you want (ex: Scholarship Application); click it and the form displays. Click it again and the form closes.

    Works just like a pop-up without any strain on your brain.

    Dave

    Selmab

    (@selmab)

    The problem is the link that may launch the pop is present in a page that changes (not fixed). For example, i’ve a multi-author blog and each author has each own page (public profile).

    I’ve a link in each author’s public profil (with contact this author) and the visitor may click on this link to see the contact form pop-up.

    How can i integrate short-codes in the php code? (at the level of contact this author i mean).

    Thank you for your help

    davejampole

    (@davejampole)

    My experience is on websites; have not done a blog yet.

    Sorry

    Selmab

    (@selmab)

    Dave,It’s not really the problem blog or website.

    I’ll explain it in an other way; suppose i’ve a business directory website in which people have their listings.

    How can i have this:

    – i click on a link in a given listing.
    – a form hows up with some fields
    – when i submit, that send a message to the author of this listing

    That must use a PHP variable for example $email_author. So i don’ know whether i can insert the short code in a PHP code. Could i ? if yes, how could i do it?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Showing the contact form as an AJAX POP-UP’ is closed to new replies.