Open a Contact form in a Popup

Hi,

Would it be possible to set something like a "Book Now" button which when pressed to open a Contact7 Form Pop-up?

Many thanks.
Razvan

Comments

  • Hi,

    yes, it is possible. Just use cf7 shortcode inside popup shortcode.
  • Can you tell me how to use this shortcode? I cannot find it's syntax.
    I am using the button inside a Tab and now it looks like this:

    [button title="Book now" icon="icon-retweet" icon_position="right" link="#" color="#90ce33" font_color="#fff" large="1"]

    Where do I insert the popup shortcode?

    Is there anywhere where I can see all the shortcodes syntaxes?

    Many thanks.
    Razvan
  • You should do it as below:
    [popup title="Title test popup" padding="0" button="0"][contact-form-7 id="2465" title="Popup Contact Form"][/popup]
    As you see, contact form shortcode is wrapped into popup shortcode.
  • Hi 

    I am having an issue with this. Let me explain:

    I use this code:

    [popup title="Inscribirme a la Charla Informativa" padding="0" button="1"][contact-form-7 id="44" title="EFL Formulario de Contacto"][/popup]

    and a redirect after send

    When the user fills the form, the popup disappears and then reappears with the same form and a  success message

    After that, the page loads the next screen.

    Is there a way to press send and redirect directly?

    Thanks
  • edited October 2015
    btw, this is the page:


    (click on one orange button in the middle of the site, not on the top)
  • What you ask for is unfortunately impossible. This is how CF7 plugin works with popup. This plugin always refresh page.
Sign In or Register to comment.