How do I link a Visual Composer button to a popup form?

The Quform WordPress v2 documentation is not yet finished. Please post on the forums if you have any questions in the mean time.

Click here to visit the complete documentation for Quform 1.x

In the VC editor, add the button then enter the button text and do not enter a Link URL.

Scroll down in the button settings and at the option Advanced on click action click Yes and enter the code below as the On click code.

1
jQuery('.quform-popup-link-1').click();
jQuery('.quform-popup-link-1').click();
  • Replace the number 1 with the form ID

Then add new Text Block element to the page in VC, and add the Quform popup form shortcode as the content, with no trigger content.

Still having trouble? Head over to the forums.

Forums