PluginProbe
Property Hive / 2.2.2
Property Hive v2.2.2
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
propertyhive / templates / global / make-enquiry-form.php

make-enquiry-form.php in Property Hive 2.2.2, at templates/global/make-enquiry-form.php

33 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Property enquiry form
4 *
5 * @author PropertyHive
6 * @package PropertyHive/Templates
7 * @version 1.0.0
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11 ?>
12
13 <form name="ph_property_enquiry" class="property-enquiry-form" action="" method="post">
14
15 <div id="enquirySuccess" style="display:none;" class="alert alert-success alert-box success">
16 <?php echo esc_html(__( 'Thank you. Your enquiry has been sent successfully.', 'propertyhive' )); ?>
17 </div>
18 <div id="enquiryError" style="display:none;" class="alert alert-danger alert-box">
19 <?php echo esc_html(__( 'An error occurred whilst trying to send your enquiry. Please try again.', 'propertyhive' )); ?>
20 </div>
21 <div id="enquiryValidation" style="display:none;" class="alert alert-danger alert-box">
22 <?php echo esc_html(__( 'Please ensure all required fields have been completed', 'propertyhive' )); ?>
23 </div>
24
25 <?php foreach ( $form_controls as $key => $field ) : ?>
26
27 <?php ph_form_field( $key, $field ); ?>
28
29 <?php endforeach; ?>
30
31 <input type="submit" value="<?php echo esc_attr(__( 'Submit', 'propertyhive' )); ?>">
32
33 </form>