Contact Form 7 Property ID
Required plugin
Section titled “Required plugin”To pass the property ID via Contact Form 7, install the Contact Form 7 – Dynamic Text Extension plugin.
Adding the shortcode
Section titled “Adding the shortcode”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.
Result
Section titled “Result”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.