Hi, so I have used Buttondown to generate a HTML form to capture email addresses for a super simple newsletter.
I have two problems:
1 – I don’t know how to disable the boilerplate text that Publii seems to include the form no matter what you actually enter in the configuration. Everything circled in red shouldn’t be there, seems to be included by default and can’t be removed. Not a huge deal.
2 – Clicking on the close button doesn’t actually close the newsletter form. This is gamebreaking for me as the form cannot be closed, taking up screen real estate and frustrating my users. Tried in two different browser (Chrome and Firefox and on desktop and on mobile).
Can someone give me some advice on this please? I’ve attached screenshot and the code for the form is below.
<form
action=”https://buttondown.email/api/emails/embed-subscribe/WEBSITENAMEREMOVED”
method=”post”
target=”popupwindow”
onsubmit=”window.open(‘https://buttondown.email/WEBSITENAMEREMOVED’, ‘popupwindow’)”
class=”embeddable-buttondown-form”
>
<label for=”bd-email”>Subscribe to be inspired by new content ❤️ </label>
<input type=”email” name=”email” id=”bd-email”>
<input type=”hidden” value=”1″ name=”embed”></input>
<input type=”submit” value=”Subscribe”></input>
<p>
Powered by Buttondown.
</p>
</form>