# Trigger change hook when field is modified in load hook

**URL:** <https://community.forestadmin.com/t/trigger-change-hook-when-field-is-modified-in-load-hook/6660>\
**Category:** Help me!\
**Tags:** smart-action, hooks\
**Created:** [September 14, 2023, 8:12am UTC](https://community.forestadmin.com/t/trigger-change-hook-when-field-is-modified-in-load-hook/6660 "2023-09-14T08:12:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurav\_Suman](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/saurav_suman/32/3709_2.png) [@Saurav\_Suman](https://community.forestadmin.com/u/Saurav_Suman)\
**Post date:** [September 14, 2023, 8:12am UTC](https://community.forestadmin.com/t/trigger-change-hook-when-field-is-modified-in-load-hook/6660/1 "2023-09-14T08:12:07Z")

</div>

## Feature(s) impacted

Smart Action dynamic field update

## Observed behavior

When we add a field in load hook of a smart action while the change hook is defined such that it will add few more field based on prior’s value.  
The change hook code needs to be duplicated or maybe onchange method needs to be called again after setting value in load hook also.

## Expected behavior

I believe, when value is set in the load hook, based on its value onchange hook should also be triggered automatically.

## Context

- Project name: Curator
- Team name: Developer
- Environment name: ALL (Staging, Development, Production)
- Agent type & version:
- Package Version: 8.3 (forest-express-sequelize)
- Express Version: 4.17.1
- Sequelize Version: 6.6.5
- Database Dialect: MySql
- Database Version: 5.7.24

---

<div class="post-metadata">

**Author:** ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)\
**Post date:** [September 14, 2023, 9:07am UTC](https://community.forestadmin.com/t/trigger-change-hook-when-field-is-modified-in-load-hook/6660/2 "2023-09-14T09:07:11Z")

</div>

Hello @Saurav_Suman,

Thanks for reaching out 🙌

I’m sorry, I’m afraid I didn’t understand completely for issue.

Could you please detail a little bit more with a concrete use case, screenshots or screencasts to point out what’s not working?

Thanks a lot.  
Cheers!
