Skip to content

Contact Form 7 Property ID

To pass the property ID via Contact Form 7, install the Contact Form 7 – Dynamic Text Extension plugin.

Insert the following shortcode into your Contact Form 7 form:

[dynamichidden objektid "CF7_get_custom_field key='objektnr_extern'"]

This shortcode creates a hidden form field that automatically reads the external property ID (objektnr_extern) of the currently displayed property and submits it along with the form.

Contact Form 7 – hidden field for the property ID in the form editor

With this configuration, the property ID is automatically included with every contact inquiry. You can output the submitted ID in the Contact Form 7 email template using [objektid], allowing you to uniquely associate each inquiry with a property.