# Validate slot without using form

**URL:** <https://forum.rasa.com/t/validate-slot-without-using-form/41890>\
**Category:** Rasa Open Source\
**Created:** [March 30, 2021, 3:28pm UTC](https://forum.rasa.com/t/validate-slot-without-using-form/41890 "2021-03-30T15:28:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BarMin](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@BarMin](https://forum.rasa.com/u/BarMin)\
**Post date:** [March 30, 2021, 3:28pm UTC](https://forum.rasa.com/t/validate-slot-without-using-form/41890/1 "2021-03-30T15:28:41Z")

</div>

As stated in the topic… Is it possible to validate a slot, that is not used in any form? Create like slot\_validate method, that validates specific slot? I figured out, that I can create a custom action and rule that runs it, when the slot is set, but… Is this the only approach? Nothing simpler?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [April 1, 2021, 4:36pm UTC](https://forum.rasa.com/t/validate-slot-without-using-form/41890/2 "2021-04-01T16:36:40Z")

</div>

Calling a custom action would be the easiest approach. Rasa doesn’t require the action server to be written in python or a programming language. You could create an action server with another language or tool that accepts the REST endpoint but I’m sure this is much more of an undertaking than writing a python validate function.
