# Pre-populated values from previous record

**URL:** <https://community.glideapps.com/t/pre-populated-values-from-previous-record/9345>\
**Category:** Ask for Help\
**Created:** [May 18, 2020, 7:18am UTC](https://community.glideapps.com/t/pre-populated-values-from-previous-record/9345 "2020-05-18T07:18:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 21, 2020, 12:02am UTC](https://community.glideapps.com/t/pre-populated-values-from-previous-record/9345/9 "2020-05-21T00:02:36Z")

</div>

Nice to see that you found the solution!

> [@camous](#):
>
> (beware, onChange seems not triggered)

Regarding this, it’s strange, because usually onChange works, onEdit is the one that does not.

> [@onEdit() script won't run when sheet is edited by Glide app](https://community.glideapps.com/t/onedit-script-wont-run-when-sheet-is-edited-by-glide-app/8850/2):
>
> Hi Rogelio, As I have discussed here, onEdit() won’t work with Glide. Change it to onChange(), or trigger the event by an “on change” option in the triggers dashboard.

---

_[View the full topic](https://community.glideapps.com/t/pre-populated-values-from-previous-record/9345)._
