# getFieldValues is deprecated. Please use the fields object instead

**URL:** <https://community.feathery.io/t/getfieldvalues-is-deprecated-please-use-the-fields-object-instead/172>\
**Category:** Support\
**Created:** [October 12, 2023, 10:54pm UTC](https://community.feathery.io/t/getfieldvalues-is-deprecated-please-use-the-fields-object-instead/172 "2023-10-12T22:54:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://community.feathery.io/u/piyush)\
**Post date:** [October 12, 2023, 10:54pm UTC](https://community.feathery.io/t/getfieldvalues-is-deprecated-please-use-the-fields-object-instead/172/1 "2023-10-12T22:54:26Z")

</div>

The Chrome browser console displays the message “getFieldValues is deprecated. Please use the fields object instead”

Would you please point me a code snippet with an example of using the fields object?

---

<div class="post-metadata">

**Author:** ![peter](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.feathery.io/peter/32/7_2.png) [@peter](https://community.feathery.io/u/peter)\
**Post date:** [October 13, 2023, 6:02am UTC](https://community.feathery.io/t/getfieldvalues-is-deprecated-please-use-the-fields-object-instead/172/2 "2023-10-13T06:02:37Z")

</div>

You can see examples that use the fields here: [Examples - Feathery Docs](https://docs.feathery.io/platform/build-a-form/logic/api-connectors-advanced-logic/examples)
