# Run Buttons and Set Slots from a SINGLE custom action

**URL:** <https://forum.rasa.com/t/run-buttons-and-set-slots-from-a-single-custom-action/14289>\
**Category:** Rasa Open Source\
**Created:** [August 13, 2019, 12:47pm UTC](https://forum.rasa.com/t/run-buttons-and-set-slots-from-a-single-custom-action/14289 "2019-08-13T12:47:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![IgNoRaNt23](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ignorant23/32/8029_2.png) [@IgNoRaNt23](https://forum.rasa.com/u/IgNoRaNt23)\
**Post date:** [August 14, 2019, 2:35pm UTC](https://forum.rasa.com/t/run-buttons-and-set-slots-from-a-single-custom-action/14289/4 "2019-08-14T14:35:31Z")

</div>

Might be related to my (unsolved) issue

> [@Button message not displayed during FormAction](http://forum.rasa.com/t/button-message-not-displayed-during-formaction/13596):
>
> Hi, i try to validate a slot for which multiple entity inputs where found in a single message. In that case the variable ‘value’ in validate\_{slot\_to\_validate} is a list of the extracted entities. My idea was to let the user choose which entity he wants to map to the slot via a button message. Therefore I wrote this functions within my FormAction which gets called in the validate\_{slot} function # result\_list here contains the possible slot values def \_ambiguous\_result(self,dispatcher,tracke…

---

_[View the full topic](https://forum.rasa.com/t/run-buttons-and-set-slots-from-a-single-custom-action/14289)._
