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.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.