# propertyhive/2.4.0/templates/global/make-enquiry-form.php

Property Hive, version 2.4.0. 33 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.4.0/code/templates/global/make-enquiry-form.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.4.0/raw/templates/global/make-enquiry-form.php
- Modified: 2026-09-16T09:29:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/2.4.0/code/templates/global/make-enquiry-form.php#L10-L20`.

```php
<?php
/**
 * Property enquiry form
 *
 * @author      PropertyHive
 * @package     PropertyHive/Templates
 * @version     1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<form name="ph_property_enquiry" class="property-enquiry-form" action="" method="post">
    
    <div id="enquirySuccess" style="display:none;" class="alert alert-success alert-box success">
        <?php echo esc_html(__( 'Thank you. Your enquiry has been sent successfully.', 'propertyhive' )); ?>
    </div>
    <div id="enquiryError" style="display:none;" class="alert alert-danger alert-box">
        <?php echo esc_html(__( 'An error occurred whilst trying to send your enquiry. Please try again.', 'propertyhive' )); ?>
    </div>
    <div id="enquiryValidation" style="display:none;" class="alert alert-danger alert-box">
        <?php echo esc_html(__( 'Please ensure all required fields have been completed', 'propertyhive' )); ?>
    </div>
    
    <?php foreach ( $form_controls as $propertyhive_key => $propertyhive_field ) : ?>

        <?php ph_form_field( $propertyhive_key, $propertyhive_field ); ?>

    <?php endforeach; ?>

    <input type="submit" value="<?php echo esc_attr(__( 'Submit', 'propertyhive' )); ?>">

</form>
```
