# Add a form to WordPress

The hipaaform.ai plugin places your form on any WordPress page. Submissions go straight to hipaaform.ai and are never stored in WordPress.

## Install the plugin

1. **Download the plugin.** In hipaaform.ai, open your form, choose *Share* and select *Download plugin (.zip)*. Do not unzip it. You can also download it here: [hipaaform-wordpress.zip](https://app.hipaaform.ai/downloads/hipaaform-wordpress.zip).
2. **Upload it.** In WordPress, go to *Plugins → Add New → Upload Plugin*, choose the zip and select *Install Now*.
3. **Activate it.** Select *Activate Plugin*. Installing alone is not enough: the form only appears once the plugin is active. You will then see *Settings → hipaaform.ai* in the WordPress menu.

## Add your form to a page

Open the page in the WordPress editor and use either of these:

- **The HIPAA Form block.** Select *+*, search for *HIPAA Form*, and enter your form ID.
- **The shortcode.** Select *+*, add a *Shortcode* block, and paste the shortcode from your form's *Share* tab. It looks like `[hipaaform id="your-form-id"]`.

Your form ID and shortcode are on the *Share* tab of your form in hipaaform.ai. Save the page, then view it to check the form.

Not on WordPress? Paste two lines of HTML instead: see [Embed a form on any website](https://app.hipaaform.ai/docs/embed).

## If something goes wrong

**The page shows the shortcode as text, like `[hipaaform id="…"]`.** WordPress is not running the shortcode. Check these in order:

- **Is the plugin active?** Go to *Plugins → Installed Plugins* and make sure *hipaaform.ai — HIPAA Forms* is activated. If *Settings → hipaaform.ai* is missing from the menu, it is not.
- **Is the shortcode in the right kind of block?** Use a *Shortcode* block. A *Code* or *Preformatted* block always shows it as text.
- **Is it in a theme template?** In the Site Editor (templates, headers, footers), only a *Shortcode* block works; a shortcode typed into a paragraph shows as text.
- **Still stuck?** Add the *HIPAA Form* block instead and enter your form ID. If that block is not in the list, the plugin is not active.

**I see a message asking me to add my form ID.** The form ID is missing or mistyped. Copy the shortcode again from your form's *Share* tab. Only people who can edit the site see this message; visitors see nothing.

**The form says it is unavailable.** The form is still a draft. Publish it in hipaaform.ai and reload the page.

**The form shows on one site but not another.** Check *Share → Allowed websites* for that form. If the list is not empty, your WordPress site's domain must be on it.

**None of this helped.** Email [support@hipaaform.ai](mailto:support@hipaaform.ai) with the address of the page. Please do not include any patient information.

Developers: shortcode attributes and what the plugin outputs are in the [WordPress plugin reference](https://app.hipaaform.ai/docs/wordpress).
