WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Showing the contact form as an AJAX POP-UP (7 posts)

  1. Selmab
    Member
    Posted 1 year ago #

    Hi

    Thank you for this great plugin.

    Is there a way to launch the contact form as a pop-up (in Ajax mode) without leaving the current page, if i click on a link (link).

    Thank you very much

    S

    http://wordpress.org/extend/plugins/contact-form-7/

  2. biswajeet
    Member
    Posted 1 year ago #

    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.

  3. Selmab
    Member
    Posted 1 year ago #

    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

  4. davejampole
    Member
    Posted 1 year ago #

    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

  5. Selmab
    Member
    Posted 1 year ago #

    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

  6. davejampole
    Member
    Posted 1 year ago #

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

    Sorry

  7. Selmab
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.