# Fix a form that shows twice after a Canva embed

> If your form looks wrong after you paste a Canva embed code, remove the extra Canva link from the HTML.
>
> Source: https://docs.bcl.my/canva-embed/

Sometimes your form shows up twice, or behaves like a link, after you paste a Canva embed code into BCL. The cause is an extra line in the code that you do not need. Canva adds a link back to the design after the embed. If the link is not closed, it wraps everything below it. This includes your BCL form. Remove the link and the form displays normally.

## Remove the extra Canva link

The embed code Canva gives you has two parts: a `<div>` with an `<iframe>` inside it, and then an `<a href="https://www.canva.com/...">` link. Keep the first part and delete the link.

1. Go to **Payments** → **Forms**, click **Edit** on the form, then click **Open HTML Editor**.
2. Find the line that starts with `<a href=` and points to `canva.com`. It is directly after the `</div>` tag.

   *(Screenshot: The HTML editor with the extra Canva link after the closing div highlighted)*

3. Delete that line, and any text and the `</a>` tag after it.
4. Click **Save HTML**.
5. Click **Back** to return to the form.
6. Click **View Form** and check that the form now appears once.

## If it still looks wrong

The HTML editor can find the leftover link for you. Click the green shield button at the bottom right of the editor (**Check HTML for errors**). An open Canva link shows as **Unclosed element '<a>'**. Click the line to go to it. Delete the line and click **Save HTML**.

*(Screenshot: The HTML check window listing an unclosed a element on line 5)*

Also check that you pasted the embed code only once. The Canva part of your HTML must end with `</iframe>` and `</div>`.

## Common issues

### Where do I paste the Canva embed code?

Set Type of Form to Custom HTML on the Payment Details tab. Then click Open HTML Editor and paste the code there. The button saves the form first.

### Can I use my Canva design as a single image instead?

Yes. Export the design as one image and use a sales page (/sales-page/). That needs no HTML.
