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
- Open Install for the published form. Copy the Setup script and add it once to your site’s shared <head>.
- Open Your own website button → Existing button. Copy the complete button link, including #cosmy-popup.
- 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.
- 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.