# Loading data from contact object based on fields

**URL:** <https://community.hubspot.com/t/loading-data-from-contact-object-based-on-fields/125576>\
**Category:** Lead Capture Tools\
**Tags:** crm, forms\
**Created:** [February 6, 2025, 4:13pm UTC](https://community.hubspot.com/t/loading-data-from-contact-object-based-on-fields/125576 "2025-02-06T16:13:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BGreenspg](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@BGreenspg](https://community.hubspot.com/u/BGreenspg)\
**Post date:** [February 6, 2025, 4:13pm UTC](https://community.hubspot.com/t/loading-data-from-contact-object-based-on-fields/125576/1 "2025-02-06T16:13:55Z")

</div>

Hi there,

I know there’s a way to pre-fill forms if the user has previously visited the site. I’m wondering if there’s a way to fill out the form based on other parts of the contact model.

For example, if I have a field for contact\_ID and fill it out, is there a way to fetch information from the CRM based on that?

What I was thinking was something like this using the form logic:

Step one: Have the user fill out a form with their contact\_ID

Step two: on submit, if the contact\_ID matches a contact field, redirect to a new Hubspot form

Step three: Hubspot form URL is [https://share.hsforms.com/example-form](https://share.hsforms.com/example-form) ?field={{information retrieved from contact field}}

Is anything like that possible, or do we need to rely on the user having visited the site previously/still being on the same device they last used to access the site before?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [February 6, 2025, 4:18pm UTC](https://community.hubspot.com/t/loading-data-from-contact-object-based-on-fields/125576/2 "2025-02-06T16:18:55Z")

</div>

Hi @BGreenspg,

If these contacts arrive on the page through an email, yes, this is possible. I explained this before here: [https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/pre-filled-forms/m-p/815415](https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/pre-filled-forms/m-p/815415)

Best regards!
