Skip to main content
All CollectionsLatest Features
Public Form - Call To Action Configuration
Public Form - Call To Action Configuration

How to trigger the Public Form from outside the Miappi widget

Toby Britton avatar
Written by Toby Britton
Updated over a year ago

On the page where you have embedded the Miappi widget, provided you have the 'Public Form' enabled you can open the popup using one of two methods:

1. Add the following class to your element: mpi-public-form-trigger

2. Define a global variable with the class name for your element, this can be placed under the var _mpi_user... from the embed code page, e.g. var _mpi_publicform_trigger = 'my-public-form-class';

Given you now have a external 'Public Form' trigger, you may find the 'Trigger Tile' is redundant. In which case try one of the following:

1. Dashboard > Profile > Feeds > Public Form ( Manage ) > Customize Trigger Tile > Show Trigger Tile? > No

2. Set data-publicform-trigger-tile-show="false" on the 'div' you create when embedding, e.g. `<div id="miappi-iframe" data-publicform-trigger-tile-show=false...'

If you require further assistance with the above, please reach out to your assigned Account Manager.

Did this answer your question?