# Function not being called on button click

**URL:** <https://forum.elixirforum.com/t/function-not-being-called-on-button-click/39489>\
**Category:** Questions\
**Tags:** ecto, phoenix, testing, troubleshooting, learning-elixir, liveview, surface\
**Created:** [May 7, 2021, 3:53pm UTC](https://forum.elixirforum.com/t/function-not-being-called-on-button-click/39489 "2021-05-07T15:53:33Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Nicd](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nicd/32/2357_2.png) [@Nicd](https://forum.elixirforum.com/u/Nicd)\
**Post date:** [May 7, 2021, 6:19pm UTC](https://forum.elixirforum.com/t/function-not-being-called-on-button-click/39489/6 "2021-05-07T18:19:35Z")

</div>

Please show your `TSSWeb.DispatchHomeLive` module code.

---

_[View the full topic](https://forum.elixirforum.com/t/function-not-being-called-on-button-click/39489)._
