WordPress.org

Support

Support » Plugins and Hacks » [Resolved] only first form on page loads in popup

[Resolved] only first form on page loads in popup

  • I want to have multiple forms on a single page that open in easy fancy box. I’ve added all the markup and unique cf7 ids, but they all open as the same form and not the unique ones. Whatever form is listed first on the page is the one that displays for all the others.

    I’m use the following markup (repeated per form id) and easy fancybox.

    Thoughts???

    <p class=”contactformz”>Dooby Du</p>
    <div style=”display:none” class=”fancybox-hidden”>
    <div id=”contact_form_pop”>
    [contact-form-7 id=”2118″ title=”I Have a Dooby Du Question”]
    </div>
    </div>

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Problem solved! I added numbers to the “#contact_form_pop1”, “#contact_form_pop2”, etc. Hope this helps someone else.

    <p class=”contactformz”>Dooby Du</p>
    <div style=”display:none” class=”fancybox-hidden”>
    <div id=”contact_form_pop1″>
    [contact-form-7 id=”1305″ title=”I Have a Dooby Du Question”]
    </div>
    </div>

    …make sure you change the contact form 7 shortcode/id/title each time too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] only first form on page loads in popup’ is closed to new replies.