# SmartAction dynamique data between fields

**URL:** <https://community.forestadmin.com/t/smartaction-dynamique-data-between-fields/6288>\
**Category:** Help me!\
**Tags:** smart-action\
**Created:** [May 12, 2023, 10:11pm UTC](https://community.forestadmin.com/t/smartaction-dynamique-data-between-fields/6288 "2023-05-12T22:11:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fletoxIsHere](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@fletoxIsHere](https://community.forestadmin.com/u/fletoxIsHere)\
**Post date:** [May 12, 2023, 10:11pm UTC](https://community.forestadmin.com/t/smartaction-dynamique-data-between-fields/6288/1 "2023-05-12T22:11:05Z")

</div>

Hello, i wanna create a dynamique interaction to improve the user experience on smartAction.  
for exemple :  
we have two filed on this smartAction:

- dropdown
- date  
if the user select on dropdown (this year,this month, this day) , the date field will change automaticly according to the selection

---

<div class="post-metadata">

**Author:** ![shohanr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shohanr/32/4999_2.png) [@shohanr](https://community.forestadmin.com/u/shohanr)\
**Post date:** [May 15, 2023, 10:47am UTC](https://community.forestadmin.com/t/smartaction-dynamique-data-between-fields/6288/2 "2023-05-15T10:47:12Z")

</div>

Hi @fletoxIsHere and welcome to our community !

Firstly, [here](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions/use-a-smart-action-form#making-a-form-dynamic-with-hooks) is the documentation for hooks with the smart actions. The `hook` property for the field and the `change` property on the action will do the work for you.  
In order to give you further help, if you need some more, I will need more information about your project :

- Agent (forest package) name & version: …
- Database type: …

Best regards,

Shohan
