# Populate form fields on meeting iframe (external values)

**URL:** <https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [May 10, 2022, 2:12pm UTC](https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616 "2022-05-10T14:12:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![VRenard](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@VRenard](https://community.hubspot.com/u/VRenard)\
**Post date:** [May 10, 2022, 2:12pm UTC](https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616/1 "2022-05-10T14:12:17Z")

</div>

Hello,

I am writing to you here following various exchanges the support.

**The context:** some users take appointments when they do not correspond to our sector of activity. The calendar is full, I would like to be able to filter users before making an appointment.

**The problem:** HubSpot does not natively allow to have a filter form before the appointment is taken, and to be able to retrieve the filter answers.

**Two solutions in my opinion:**

1. Develop the filter form our side and pre-fill this information when the iframe loads (via parameter integration in iframe URL). Like here [Auto-populate form fields with a query string](https://knowledge.hubspot.com/forms/can-i-auto-populate-form-fields-through-a-query-string), but for an appointment booking.
2. When the user makes an appointment, retrieve the user ID and send the filter information to HubSpot via the API (using the user ID). We need to retrieve the UID through the iframe via an event. [https://legacydocs.hubspot.com/docs/methods/forms/submit\_form](https://legacydocs.hubspot.com/docs/methods/forms/submit_form)

Do you think this is possible? Especially the first solution which would be the easiest for us.

Thanks in advance for your help 🙂

Have a nice day,

---

<div class="post-metadata">

**Author:** ![VRenard](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@VRenard](https://community.hubspot.com/u/VRenard)\
**Post date:** [May 10, 2022, 2:32pm UTC](https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616/2 "2022-05-10T14:32:43Z")

</div>

For information, I have seen this topic [https://community.hubspot.com/t5/APIs-Integrations/Auto-populate-fields-on-meeting-booking-form/m-p/223864](https://community.hubspot.com/t5/APIs-Integrations/Auto-populate-fields-on-meeting-booking-form/m-p/223864) but it was on 2018. I hope that the meeting form has improved.

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [May 10, 2022, 5:46pm UTC](https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616/3 "2022-05-10T17:46:59Z")

</div>

Hi @VRenard ,

There was an [idea](https://community.hubspot.com/t5/HubSpot-Ideas/Meeting-Booking-Form-Prepopulates-with-Known-Values/idi-p/13106#comments) posted a while back about prepopulating the meeting form. It has the status delivered, so that would mean the way they describe it in the [post](https://community.hubspot.com/t5/HubSpot-Ideas/Meeting-Booking-Form-Prepopulates-with-Known-Values/idi-p/13106#comments) is the best way to approach this.

---

<div class="post-metadata">

**Author:** ![VRenard](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@VRenard](https://community.hubspot.com/u/VRenard)\
**Post date:** [May 11, 2022, 7:02am UTC](https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616/4 "2022-05-11T07:02:21Z")

</div>

Thanks for your quick reply @Teun !

However, I need to populate my form with **unknows Hubspot values**. In other words, there are values saved on my website, but not on the Hubspot CRM/Database.

I think **@glencornell** ’s solution is only for contacts already known to Hubspot, with information already pre-registered.

That’s right ?

_I have edited my post title to precise this._

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [May 11, 2022, 7:04am UTC](https://community.hubspot.com/t/populate-form-fields-on-meeting-iframe-external-values/56616/5 "2022-05-11T07:04:00Z")

</div>

Hi @VRenard ,

Yes, that is right 😥

Sadly, as long as URL parameters are not working, I do not have another solution.
