# Specify number of selected records for bulk smart action

**URL:** <https://community.forestadmin.com/t/specify-number-of-selected-records-for-bulk-smart-action/3896>\
**Category:** Feature suggestions\
**Created:** [December 13, 2021, 7:06am UTC](https://community.forestadmin.com/t/specify-number-of-selected-records-for-bulk-smart-action/3896 "2021-12-13T07:06:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![huss](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@huss](https://community.forestadmin.com/u/huss)\
**Post date:** [December 13, 2021, 7:06am UTC](https://community.forestadmin.com/t/specify-number-of-selected-records-for-bulk-smart-action/3896/1 "2021-12-13T07:06:41Z")

</div>

hello,

i would like to specify exactly the number of allowed records to be selected for a bulk smart action.

for example only allow the smart action to appear if the user selected exactly 2 records, and other than that, the smart action wouldn’t appear.

thank you!

---

<div class="post-metadata">

**Author:** ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)\
**Post date:** [December 13, 2021, 8:10am UTC](https://community.forestadmin.com/t/specify-number-of-selected-records-for-bulk-smart-action/3896/2 "2021-12-13T08:10:55Z")

</div>

Hey @huss 👋

This is not something that is achievable at the moment. I’m updating your thread as a feature suggestion, and I’m pushing it to our product board.

As an alternative solution, you could use a [smart action load hook](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions/use-a-smart-action-form#add-remove-fields-dynamically) to get the context of the selection, and manually update the form to indicate that the selection does not contains the number of records you are expecting. This is not the optimal solution for your request, but the best I can propose so far 🙂

---

<div class="post-metadata">

**Author:** ![huss](https://avatars.discourse-cdn.com/v4/letter/h/dfb087/32.png) [@huss](https://community.forestadmin.com/u/huss)\
**Post date:** [December 13, 2021, 8:19am UTC](https://community.forestadmin.com/t/specify-number-of-selected-records-for-bulk-smart-action/3896/3 "2021-12-13T08:19:27Z")

</div>

this is exactly what i’m already doing, but i’m facing another issue with that 😁 and im waiting for a response for that issue i raised.

thank you!
