Skip to main content

PageBuilder Code

Default form widget

You can call insert the web-form in PageBuilder using simple widget code:

{{widget type="MageMe\WebForms\Block\Widget\Form" form_id="1"}}

form_id - is actual ID of the form.

Button with the form in popup

{{widget type="MageMe\WebForms\Block\Widget\Button" 
button_text="Show form"

form_id - is actual ID of the form.

template - form template which can have following values:

  • webforms/button/default.phtml - default template

button_text - text on the button.