# Button Html

**URL:** <https://community.glideapps.com/t/button-html/74921>\
**Category:** Ask for Help\
**Created:** [July 15, 2024, 2:56pm UTC](https://community.glideapps.com/t/button-html/74921 "2024-07-15T14:56:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex21](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Alex21](https://community.glideapps.com/u/Alex21)\
**Post date:** [July 15, 2024, 2:56pm UTC](https://community.glideapps.com/t/button-html/74921/1 "2024-07-15T14:56:57Z")

</div>

I’m creating a choice button in Glide using HTML and CSS, but I’m having trouble adding an action to send an email when the button is pressed. Does anyone know if there is a problem with this, or is it just because this option was added recently and doesn’t have much support?

 ![Captura de tela 2024-07-15 115538](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/2/322a9257756c1f218c9b90056123e2e6dd4785b0.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/1/01e01ad0e755e43d8640e3a4efbb6e365cb6781d.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 15, 2024, 11:08pm UTC](https://community.glideapps.com/t/button-html/74921/2 "2024-07-15T23:08:20Z")

</div>

Just add @click=“sendEmail” to your button class, and it should work. sendEmail is the action name you’re giving to the Action in your screenshot. If you name it “Lorem Ipsum” for example, it will be @click=“loremIpsum”.
