# Scoping the Smart Action field search based on another field

**URL:** <https://community.forestadmin.com/t/scoping-the-smart-action-field-search-based-on-another-field/544>\
**Category:** Help me!\
**Tags:** howtos\
**Created:** [June 26, 2020, 3:04pm UTC](https://community.forestadmin.com/t/scoping-the-smart-action-field-search-based-on-another-field/544 "2020-06-26T15:04:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shriram\_Balakrishnan](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shriram_balakrishnan/32/424_2.png) [@Shriram\_Balakrishnan](https://community.forestadmin.com/u/Shriram_Balakrishnan)\
**Post date:** [June 26, 2020, 3:04pm UTC](https://community.forestadmin.com/t/scoping-the-smart-action-field-search-based-on-another-field/544/1 "2020-06-26T15:04:33Z")

</div>

## Actual behavior

We have created a Smart Action with n fields (f1, f2, f3…).

f2 field is on `Number` type.  
f3 field is of `reference` type -\> {reference: association.id}

When typing the text in `f3` field, all the records are getting searched.

## Expected behavior

We want this search to be scoped based on the value of field f2. **Is this possible?**

## Failure Logs

None.

## Context

Please provide any relevant information about your setup.

- Package Version: 6.2.1
- Express Version: 4.16.4
- Sequelize Version: 5.15.2
- Database Version: MySQL 5.7
- Project Name: xs-library

---

<div class="post-metadata">

**Author:** ![arnaud](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud/32/32_2.png) [@arnaud](https://community.forestadmin.com/u/arnaud)\
**Post date:** [June 26, 2020, 3:36pm UTC](https://community.forestadmin.com/t/scoping-the-smart-action-field-search-based-on-another-field/544/2 "2020-06-26T15:36:03Z")

</div>

Hi @Shriram_Balakrishnan,

I am afraid this is not possible so far.  
But we have in mind to provide dynamic forms experience in the future.

Let me add your insight in our Product Board.

---

<div class="post-metadata">

**Author:** ![satzkrs](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/satzkrs/32/440_2.png) [@satzkrs](https://community.forestadmin.com/u/satzkrs)\
**Post date:** [June 26, 2020, 4:22pm UTC](https://community.forestadmin.com/t/scoping-the-smart-action-field-search-based-on-another-field/544/3 "2020-06-26T16:22:57Z")

</div>

Hi @arnaud,  
If this is not possible, what is the best work around thats available?
