Streaming live at 10am (PST)

Send dynamic data with webflow forms


#1

Hello to all,

I have a real estate website with forms on the listing page. Each listing is dynamically populated with a reference id from the collection. Now when a user submits request for information through the form on the page, the user needs to type the reference of the property which is great as user experience.

Is there anyway I can capture the reference from the page when the user submits the form.

See the listing page here:
https://bit.ly/2zm0wRD

Thank you.


#2

Hi @amam

You can capture dynamic data in your form using a custom embed inside the form element.

  1. Add an embed element inside the form

  2. Paste in the script below

  3. Replace the value ID with your Property code Collection field.

Learn more about using Collection fields in custom embeds:

Hope this is helpful. If you have any other questions, please don’t hesitate to reach out and I’ll be happy to help.


#3

So cool. Thank you.
Just love went things work so smoothly :slight_smile: