Skip to content

Add a lightbox embed

Use Lightbox when a form should open centered over the host page. Automatic lightbox triggers need extra restraint because overlays can interrupt visitors.

Steps

  1. Open Publish > Embed and choose Lightbox.
  2. Select Show Code.
  3. Choose Launch behavior:
    • Button shows a visible button and does not use automatic triggers.
    • Automatic hides the button settings and opens only from selected automatic triggers.
    • Button + automatic shows the button and also allows selected automatic triggers.
  4. Set width, height, visual style, and button colors when a button launch mode is selected.
  5. For automatic launch modes, choose from Open after delay, Open on page load, or Open when the visitor shows exit intent.
  6. For exit intent, choose whether it opens once per visitor with a form-specific browser cookie or on every exit intent attempt.
  7. Copy the code to an approved staging page and test open, close, focus/keyboard behaviour, mobile layout, and form completion.

Expected result

The lightbox is intentional, easy to close, responsive, and does not prevent a visitor from using the underlying page or completing the form.

Build better forms with AbcSubmit.