# Smart action with related data

**URL:** <https://community.forestadmin.com/t/smart-action-with-related-data/3551>\
**Category:** Help me!\
**Created:** [October 15, 2021, 12:44pm UTC](https://community.forestadmin.com/t/smart-action-with-related-data/3551 "2021-10-15T12:44:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![usr1vang](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/usr1vang/32/3017_2.png) [@usr1vang](https://community.forestadmin.com/u/usr1vang)\
**Post date:** [October 15, 2021, 12:44pm UTC](https://community.forestadmin.com/t/smart-action-with-related-data/3551/1 "2021-10-15T12:44:33Z")

</div>

Hi, one of my collections in my project has the following scheme:

 ![Screen Shot 2021-10-15 at 09.43.37](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/f4e430970891137c6beca4ec5d48e01f1718dc13.png)

As you can see there is a field called metrics which is in levels, and then there is the charities field which is an array of id’s referenced to the charities collection.

I would like to know if it is possible to create a smart action which contains a form to create a record as detailed above? i.e. having to complete data in levels and select many charities referenced to that collection.  
I have been reading the documentation but I have not found the way to do it.

I appreciate any help, comments. Thank you!

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [October 15, 2021, 3:13pm UTC](https://community.forestadmin.com/t/smart-action-with-related-data/3551/2 "2021-10-15T15:13:08Z")

</div>

Hello @usr1vang,

I’m asking to someone who as more informations on this subject. Sorry for being late on this subject but I’m not really used to use mongoose with “complexe” setup.

I’ll try to give you a clear answer asap.

Regards,  
Morgan
