Skip to content
COSMY Forms

Open a form from your website button

Add the permanent setup script and link a button to the right form.

Add the script and link

  1. Open Install for the published form. Copy the Setup script and add it once to your site’s shared <head>.
  2. Open Your own website button → Existing button. Copy the complete button link, including #cosmy-popup.
  3. Paste it into the existing button’s link settings and turn off opening in a new tab. For a new button, open the New button tab and copy its code.
  4. Open the published website page, click the button, and check that the form opens over the page.

If the form opens on a separate page

Check that cosmyforms.js loads on this page and the button link ends in #cosmy-popup. If embedding is restricted, add the site’s HTTPS address in the form settings.

Need help with a form?

Create a ticket