Use Booking Address in Lead Address Field

Modified on Tue, 5 May at 7:14 PM

Use Booking Address in Lead Address Field

Automatically populate the lead's address field with the booking location entered in the booking form — so your team always has the correct visit address without manual data entry.

TL;DR

Add a hidden input in Part 3: Confirmation form of your booking form: <div class='form-group' style="display:none"> input[adresse; value="%booking_location%"] </div> (use at-sign before input). The field name must match exactly the address field slug in your lead system.

Get started in 4 steps

1

Open the booking form

Go to Campaign settings → Booking forms and open the form you want to modify.

2

Find Part 3: Confirmation form

Scroll to the confirmation section of the form editor. This is where the hidden input must be placed — it runs when the customer confirms the booking.

3

Insert the hidden input code

Paste the following code (replace "at-input" with the actual Hubhus at-input syntax):

<div class='form-group' style="display:none">
  @input[adresse; value="%booking_location%"]
</div>

Note: The field name adresse must match the address field slug in your lead system exactly.

4

Save and test

Click Save and create a test booking. Verify that the lead's address field is updated with the booking location after submission.

Read more

How the code works

  • class='form-group' style="display:none" — creates a hidden container, invisible to the customer
  • at-input[adresse; ...] — defines an input field named "adresse" that Hubhus processes on submission
  • value="%booking_location%" — Hubhus replaces this placeholder with the address the customer entered in the booking step

The booking address (where the service will be performed) may differ from the lead's default address. This technique ensures the visit address is always saved correctly after booking.

Common searches

booking address • lead address • booking location • address field • confirmation form • hidden input

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article