Contact Form Builder – a plugin for creating contact and feedback forms - Version 1.0.47

Version Description

Added: Global option section for ReCaptcha and Google Maps API keys
Fixed: Google Maps API key warning in browser

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form Builder – a plugin for creating contact and feedback forms
Version 1.0.47
Comparing to
See all releases

Code changes from version 1.0.46 to 1.0.47

admin/controllers/CFMControllerGoptions_cfm.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class CFMControllerGoptions_cfm {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = WDW_CFM_Library::get('task');
23
+ $id = (int)WDW_CFM_Library::get('current_id', 0);
24
+ $message = WDW_CFM_Library::get('message');
25
+ echo WDW_CFM_Library::message_id($message);
26
+ if (method_exists($this, $task)) {
27
+ check_admin_referer('nonce_cfm', 'nonce_cfm');
28
+ $this->$task($id);
29
+ }
30
+ else {
31
+ $this->display();
32
+ }
33
+ }
34
+
35
+ public function display() {
36
+ require_once WD_CFM_DIR . "/admin/models/CFMModelGoptions_cfm.php";
37
+ $model = new CFMModelGoptions_cfm();
38
+
39
+ require_once WD_CFM_DIR . "/admin/views/CFMViewGoptions_cfm.php";
40
+ $view = new CFMViewGoptions_cfm($model);
41
+ $view->display();
42
+ }
43
+
44
+ public function save() {
45
+ $message = $this->save_db();
46
+ $page = WDW_CFM_Library::get('page');
47
+ WDW_CFM_Library::spider_redirect(add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), admin_url('admin.php')));
48
+ }
49
+
50
+ public function save_db() {
51
+ $public_key = (isset($_POST['public_key']) ? esc_html(stripslashes($_POST['public_key'])) : '');
52
+ $private_key = (isset($_POST['private_key']) ? esc_html(stripslashes($_POST['private_key'])) : '');
53
+ $map_key = (isset($_POST['map_key']) ? esc_html(stripslashes($_POST['map_key'])) : '');
54
+ update_option('cfm_settings', array('public_key' => $public_key, 'private_key' => $private_key, 'map_key' => $map_key));
55
+ }
56
+
57
+
58
+
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ // Getters & Setters //
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ ////////////////////////////////////////////////////////////////////////////////////////
63
+ // Private Methods //
64
+ ////////////////////////////////////////////////////////////////////////////////////////
65
+ ////////////////////////////////////////////////////////////////////////////////////////
66
+ // Listeners //
67
+ ////////////////////////////////////////////////////////////////////////////////////////
68
+ }
admin/models/CFMModelGoptions_cfm.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class CFMModelGoptions_cfm {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Getters & Setters //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ // Private Methods //
26
+ ////////////////////////////////////////////////////////////////////////////////////////
27
+ ////////////////////////////////////////////////////////////////////////////////////////
28
+ // Listeners //
29
+ ////////////////////////////////////////////////////////////////////////////////////////
30
+ }
admin/models/CFMModelUninstall_cfm.php CHANGED
@@ -26,6 +26,8 @@ class CFMModelUninstall_cfm {
26
  $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "contactformmaker_views");
27
  $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "contactformmaker_blocked");
28
  delete_option("wd_contact_form_maker_version");
 
 
29
  }
30
  ////////////////////////////////////////////////////////////////////////////////////////
31
  // Getters & Setters //
26
  $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "contactformmaker_views");
27
  $wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "contactformmaker_blocked");
28
  delete_option("wd_contact_form_maker_version");
29
+ delete_option("cfm_export_delimiter");
30
+ delete_option("cfm_settings");
31
  }
32
  ////////////////////////////////////////////////////////////////////////////////////////
33
  // Getters & Setters //
admin/views/CFMViewContactFormMakerPreview.php CHANGED
@@ -27,8 +27,10 @@ class CFMViewContactFormMakerPreview {
27
  wp_print_scripts('jquery');
28
  wp_print_scripts('jquery-ui-widget');
29
  wp_print_scripts('jquery-effects-shake');
 
 
30
  ?>
31
- <script src="https://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
32
  <script src="<?php echo WD_CFM_URL . '/js/if_gmap_front_end.js'; ?>" type="text/javascript"></script>
33
  <script src="<?php echo WD_CFM_URL . '/js/cfm_main_front_end.js'; ?>" type="text/javascript"></script>
34
  <link media="all" type="text/css" href="<?php echo WD_CFM_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>" rel="stylesheet">
27
  wp_print_scripts('jquery');
28
  wp_print_scripts('jquery-ui-widget');
29
  wp_print_scripts('jquery-effects-shake');
30
+ $cfm_settings = get_option('cfm_settings');
31
+ $map_key = isset($cfm_settings['map_key']) ? $cfm_settings['map_key'] : '';
32
  ?>
33
+ <script src="https://maps.google.com/maps/api/js?v=3.exp&key=<?php echo $map_key ?>" type="text/javascript"></script>
34
  <script src="<?php echo WD_CFM_URL . '/js/if_gmap_front_end.js'; ?>" type="text/javascript"></script>
35
  <script src="<?php echo WD_CFM_URL . '/js/cfm_main_front_end.js'; ?>" type="text/javascript"></script>
36
  <link media="all" type="text/css" href="<?php echo WD_CFM_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>" rel="stylesheet">
admin/views/CFMViewGoptions_cfm.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class CFMViewGoptions_cfm {
3
+ ////////////////////////////////////////////////////////////////////////////////////////
4
+ // Events //
5
+ ////////////////////////////////////////////////////////////////////////////////////////
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ // Constants //
8
+ ////////////////////////////////////////////////////////////////////////////////////////
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ // Variables //
11
+ ////////////////////////////////////////////////////////////////////////////////////////
12
+ private $model;
13
+
14
+ ////////////////////////////////////////////////////////////////////////////////////////
15
+ // Constructor & Destructor //
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ public function __construct($model) {
18
+ $this->model = $model;
19
+ }
20
+
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+ public function display() {
25
+ $cfm_settings = get_option('cfm_settings');
26
+ $public_key = isset($cfm_settings['public_key']) ? $cfm_settings['public_key'] : '';
27
+ $private_key = isset($cfm_settings['private_key']) ? $cfm_settings['private_key'] : '';
28
+ $map_key = isset($cfm_settings['map_key']) ? $cfm_settings['map_key'] : '';
29
+ ?>
30
+ <div class="fm-user-manual">
31
+ <?php echo __("This section allows you to edit forms", "contact_form_maker"); ?>.
32
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-contact-form-builder-guide-2.html"><?php echo __("Read More in User Manual","contact_form_maker"); ?></a>
33
+ <p><?php echo __("There is no possibility of adding new form fields, whereas you can edit, enable/disable the current fields included in each form","contact_form_maker"); ?>.</p>
34
+ </div>
35
+ <div class="fm-clear"></div>
36
+ <form class="wrap" method="post" action="admin.php?page=goptions_cfm" style="width:99%;">
37
+ <?php wp_nonce_field('nonce_cfm', 'nonce_cfm'); ?>
38
+ <div class="fm-options-page-banner">
39
+ <div class="fm-options-logo"></div>
40
+ <div class="fm-options-logo-title">
41
+ <?php echo __("Global Options", "contact_form_maker"); ?>
42
+ </div>
43
+ <div class="fm-page-actions">
44
+ <button class="fm-button save-button small" onclick="spider_set_input_value('task', 'save');">
45
+ <span></span>
46
+ <?php echo __("Save", "contact_form_maker"); ?>
47
+ </button>
48
+ </div>
49
+ </div>
50
+
51
+ <table style="clear:both;">
52
+ <tbody>
53
+ <tr>
54
+ <td>
55
+ <label for="public_key"><?php echo __("Recaptcha Site Key:", "contact_form_maker"); ?></label>
56
+ </td>
57
+ <td>
58
+ <input type="text" id="public_key" name="public_key" value="<?php echo $public_key; ?>" style="width:250px;" />
59
+ </td>
60
+ <td rowspan="2">
61
+ <a href="https://www.google.com/recaptcha/intro/index.html" target="_blank"><?php echo __("Get Recaptcha", "contact_form_maker"); ?></a>
62
+ </td>
63
+ </tr>
64
+ <tr>
65
+ <td>
66
+ <label for="private_key"><?php echo __("Recaptcha Secret Key:", "contact_form_maker"); ?></label>
67
+ </td>
68
+ <td>
69
+ <input type="text" id="private_key" name="private_key" value="<?php echo $private_key; ?>" style="width:250px;" />
70
+ </td>
71
+ </tr>
72
+ <tr>
73
+ <td>
74
+ <label for="public_key"><?php echo __("Maps API Key:", "contact_form_maker"); ?></label>
75
+ </td>
76
+ <td>
77
+ <input type="text" id="map_key" name="map_key" value="<?php echo $map_key; ?>" style="width:250px;" />
78
+ </td>
79
+ <td>
80
+ <a href="https://console.developers.google.com/flows/enableapi?apiid=maps_backend&keyType=CLIENT_SIDE&reusekey=true" target="_blank"><?php echo __("Get maps API key", "contact_form_maker"); ?></a>
81
+ </td>
82
+ </tr>
83
+ </tbody>
84
+ </table>
85
+ <input type="hidden" id="task" name="task" value=""/>
86
+ </form>
87
+ <?php
88
+ }
89
+
90
+
91
+
92
+ ////////////////////////////////////////////////////////////////////////////////////////
93
+ // Getters & Setters //
94
+ ////////////////////////////////////////////////////////////////////////////////////////
95
+ ////////////////////////////////////////////////////////////////////////////////////////
96
+ // Private Methods //
97
+ ////////////////////////////////////////////////////////////////////////////////////////
98
+ ////////////////////////////////////////////////////////////////////////////////////////
99
+ // Listeners //
100
+ ////////////////////////////////////////////////////////////////////////////////////////
101
+ }
contact-form-builder-update.php CHANGED
@@ -11,6 +11,15 @@ function contact_form_maker_update($version) {
11
  if (version_compare($version, '1.0.46') == -1) {
12
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "contactformmaker_submits` CHANGE `ip` `ip` varchar(128) NOT NULL");
13
  }
 
 
 
 
 
 
 
 
 
14
  return;
15
  }
16
 
11
  if (version_compare($version, '1.0.46') == -1) {
12
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "contactformmaker_submits` CHANGE `ip` `ip` varchar(128) NOT NULL");
13
  }
14
+ if (version_compare($version, '1.0.47') == -1) {
15
+ $recaptcha_keys = $wpdb->get_row('SELECT `public_key`, `private_key` FROM ' . $wpdb->prefix . 'contactformmaker WHERE public_key!="" and private_key!=""', ARRAY_A);
16
+ $public_key = isset($recaptcha_keys['public_key']) ? $recaptcha_keys['public_key'] : '';
17
+ $private_key = isset($recaptcha_keys['private_key']) ? $recaptcha_keys['private_key'] : '';
18
+
19
+ if (FALSE === $fm_settings = get_option('cfm_settings')) {
20
+ add_option('cfm_settings', array('public_key' => $public_key, 'private_key' => $private_key, 'map_key' => ''));
21
+ }
22
+ }
23
  return;
24
  }
25
 
contact-form-builder.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
- * Version: 1.0.46
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
  define('WD_CFM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
12
  define('WD_CFM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
- define('WD_CFM_VERSION', '1.0.46');
14
 
15
  // Plugin menu.
16
  function contact_form_maker_options_panel() {
@@ -29,6 +29,10 @@ function contact_form_maker_options_panel() {
29
 
30
  $themes_page = add_submenu_page('manage_cfm', __('Themes', 'contact_form_maker'), __('Themes', 'contact_form_maker'), 'manage_options', 'themes_cfm', 'contact_form_maker');
31
  add_action('admin_print_styles-' . $themes_page, 'contact_form_maker_styles');
 
 
 
 
32
 
33
  $licensing_plugins_page = add_submenu_page('manage_cfm', __('Get Pro', 'contact_form_maker'), __('Get Pro', 'contact_form_maker'), 'manage_options', 'licensing_cfm', 'contact_form_maker');
34
  add_action('admin_print_styles-' . $licensing_plugins_page, 'contact_form_maker_licensing_styles');
@@ -53,7 +57,7 @@ function contact_form_maker() {
53
  }
54
  require_once(WD_CFM_DIR . '/framework/WDW_CFM_Library.php');
55
  $page = WDW_CFM_Library::get('page');
56
- if (($page != '') && (($page == 'manage_cfm') || ($page == 'submissions_cfm') || ($page == 'blocked_ips_cfm') || ($page == 'themes_cfm') || ($page == 'licensing_cfm') || ($page == 'uninstall_cfm') || ($page == 'CFMShortcode'))) {
57
  require_once (WD_CFM_DIR . '/admin/controllers/CFMController' . ucfirst(strtolower($page)) . '.php');
58
  $controller_class = 'CFMController' . ucfirst(strtolower($page));
59
  $controller = new $controller_class();
@@ -134,6 +138,7 @@ function contact_form_maker_admin_ajax() {
134
  <script>
135
  var contact_form_maker_admin_ajax = '<?php echo add_query_arg(array('action' => 'CFMShortcode'), admin_url('admin-ajax.php')); ?>';
136
  var contact_form_maker_plugin_url = '<?php echo WD_CFM_URL; ?>';
 
137
  </script>
138
  <?php
139
  }
@@ -203,12 +208,15 @@ function contact_form_maker_manage_styles() {
203
  }
204
  // Contact Form Builder manage page scripts.
205
  function contact_form_maker_manage_scripts() {
 
 
 
206
  wp_enqueue_script('thickbox');
207
  wp_enqueue_script('jquery');
208
  wp_enqueue_script('jquery-ui-widget');
209
  wp_enqueue_script('jquery-ui-sortable');
210
 
211
- wp_enqueue_script('gmap_form_api', 'https://maps.google.com/maps/api/js?sensor=false');
212
  wp_enqueue_script('gmap_form', WD_CFM_URL . '/js/if_gmap_back_end.js');
213
 
214
  wp_enqueue_script('contact_form_maker_admin', WD_CFM_URL . '/js/contact_form_maker_admin.js', array(), WD_CFM_VERSION);
@@ -502,8 +510,8 @@ function contact_form_maker_manage_scripts() {
502
  'fmc_Overall_size' => __('Overall size(px)', 'contact_form_maker'),
503
  'fmc_Disable_field' => __('Disable field(s)', 'contact_form_maker'),
504
  'fmc_Use_list_US_states' => __('Use list for US states', 'contact_form_maker'),
505
- 'fmc_Public_key' => __('Public key', 'contact_form_maker'),
506
- 'fmc_Private_key' => __('Private key', 'contact_form_maker'),
507
  'fmc_Recaptcha_theme' => __('Recaptcha Theme', 'contact_form_maker'),
508
  'fmc_Red' => __('Red', 'contact_form_maker'),
509
  'fmc_White' => __('White', 'contact_form_maker'),
@@ -524,6 +532,10 @@ function contact_form_maker_manage_scripts() {
524
  'fmc_Drag_change_position' => __('Drag the marker to change marker position.', 'contact_form_maker'),
525
  'fmc_Location' => __('Location', 'contact_form_maker'),
526
  'fmc_Map_size' => __('Map size', 'contact_form_maker'),
 
 
 
 
527
  'fmc_Marker_info' => __('Marker Info', 'contact_form_maker'),
528
  'fmc_Address' => __('Address', 'contact_form_maker'),
529
  'fmc_Longitude' => __('Longitude', 'contact_form_maker'),
@@ -599,10 +611,13 @@ if (is_admin() && (!defined('DOING_AJAX') || !DOING_AJAX)) {
599
  }
600
 
601
  function contact_form_maker_front_end_scripts() {
 
 
 
602
  wp_register_style('jquery-ui', WD_CFM_URL . '/css/jquery-ui-1.10.3.custom.css');
603
  wp_register_style('contact_form_maker_frontend', WD_CFM_URL . '/css/contact_form_maker_frontend.css', FALSE, WD_CFM_VERSION);
604
 
605
- wp_register_script('gmap_form_api', 'https://maps.google.com/maps/api/js?sensor=false', array('jquery'));
606
  wp_register_script('gmap_form', WD_CFM_URL . '/js/if_gmap_front_end.js', array('jquery'));
607
 
608
  wp_register_script('cfm_main_front_end', WD_CFM_URL . '/js/cfm_main_front_end.js', array('jquery', 'jquery-ui-widget', 'jquery-effects-shake'), WD_CFM_VERSION);
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
+ * Version: 1.0.47
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
  define('WD_CFM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
12
  define('WD_CFM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
+ define('WD_CFM_VERSION', '1.0.47');
14
 
15
  // Plugin menu.
16
  function contact_form_maker_options_panel() {
29
 
30
  $themes_page = add_submenu_page('manage_cfm', __('Themes', 'contact_form_maker'), __('Themes', 'contact_form_maker'), 'manage_options', 'themes_cfm', 'contact_form_maker');
31
  add_action('admin_print_styles-' . $themes_page, 'contact_form_maker_styles');
32
+
33
+ $global_options_page = add_submenu_page('manage_cfm', __('Global Options', 'contact_form_maker'), __('Global Options', 'contact_form_maker'), 'manage_options', 'goptions_cfm', 'contact_form_maker');
34
+ add_action('admin_print_styles-' . $global_options_page, 'contact_form_maker_styles');
35
+ add_action('admin_print_scripts-' . $global_options_page, 'contact_form_maker_scripts');
36
 
37
  $licensing_plugins_page = add_submenu_page('manage_cfm', __('Get Pro', 'contact_form_maker'), __('Get Pro', 'contact_form_maker'), 'manage_options', 'licensing_cfm', 'contact_form_maker');
38
  add_action('admin_print_styles-' . $licensing_plugins_page, 'contact_form_maker_licensing_styles');
57
  }
58
  require_once(WD_CFM_DIR . '/framework/WDW_CFM_Library.php');
59
  $page = WDW_CFM_Library::get('page');
60
+ if (($page != '') && (($page == 'manage_cfm') || ($page == 'goptions_cfm') || ($page == 'submissions_cfm') || ($page == 'blocked_ips_cfm') || ($page == 'themes_cfm') || ($page == 'licensing_cfm') || ($page == 'uninstall_cfm') || ($page == 'CFMShortcode'))) {
61
  require_once (WD_CFM_DIR . '/admin/controllers/CFMController' . ucfirst(strtolower($page)) . '.php');
62
  $controller_class = 'CFMController' . ucfirst(strtolower($page));
63
  $controller = new $controller_class();
138
  <script>
139
  var contact_form_maker_admin_ajax = '<?php echo add_query_arg(array('action' => 'CFMShortcode'), admin_url('admin-ajax.php')); ?>';
140
  var contact_form_maker_plugin_url = '<?php echo WD_CFM_URL; ?>';
141
+ var contact_form_maker_admin_url = '<?php echo admin_url('admin.php'); ?>';
142
  </script>
143
  <?php
144
  }
208
  }
209
  // Contact Form Builder manage page scripts.
210
  function contact_form_maker_manage_scripts() {
211
+ $cfm_settings = get_option('cfm_settings');
212
+ $map_key = isset($cfm_settings['map_key']) ? $cfm_settings['map_key'] : '';
213
+
214
  wp_enqueue_script('thickbox');
215
  wp_enqueue_script('jquery');
216
  wp_enqueue_script('jquery-ui-widget');
217
  wp_enqueue_script('jquery-ui-sortable');
218
 
219
+ wp_enqueue_script('gmap_form_api', 'https://maps.google.com/maps/api/js?v=3.exp&key=' . $map_key);
220
  wp_enqueue_script('gmap_form', WD_CFM_URL . '/js/if_gmap_back_end.js');
221
 
222
  wp_enqueue_script('contact_form_maker_admin', WD_CFM_URL . '/js/contact_form_maker_admin.js', array(), WD_CFM_VERSION);
510
  'fmc_Overall_size' => __('Overall size(px)', 'contact_form_maker'),
511
  'fmc_Disable_field' => __('Disable field(s)', 'contact_form_maker'),
512
  'fmc_Use_list_US_states' => __('Use list for US states', 'contact_form_maker'),
513
+ 'fmc_Public_key' => __('Site key', 'contact_form_maker'),
514
+ 'fmc_Private_key' => __('Secret key', 'contact_form_maker'),
515
  'fmc_Recaptcha_theme' => __('Recaptcha Theme', 'contact_form_maker'),
516
  'fmc_Red' => __('Red', 'contact_form_maker'),
517
  'fmc_White' => __('White', 'contact_form_maker'),
532
  'fmc_Drag_change_position' => __('Drag the marker to change marker position.', 'contact_form_maker'),
533
  'fmc_Location' => __('Location', 'contact_form_maker'),
534
  'fmc_Map_size' => __('Map size', 'contact_form_maker'),
535
+ 'fmc_Key' => __('Key', 'contact_form_maker'),
536
+ 'fmc_Click_here' => __('To set up map key click here', 'contact_form_maker'),
537
+ 'fmc_Keys' => __('Keys', 'contact_form_maker'),
538
+ 'fmc_Click_here_recaptcha' => __('To set up recaptcha keys click here', 'contact_form_maker'),
539
  'fmc_Marker_info' => __('Marker Info', 'contact_form_maker'),
540
  'fmc_Address' => __('Address', 'contact_form_maker'),
541
  'fmc_Longitude' => __('Longitude', 'contact_form_maker'),
611
  }
612
 
613
  function contact_form_maker_front_end_scripts() {
614
+ $cfm_settings = get_option('cfm_settings');
615
+ $map_key = isset($cfm_settings['map_key']) ? $cfm_settings['map_key'] : '';
616
+
617
  wp_register_style('jquery-ui', WD_CFM_URL . '/css/jquery-ui-1.10.3.custom.css');
618
  wp_register_style('contact_form_maker_frontend', WD_CFM_URL . '/css/contact_form_maker_frontend.css', FALSE, WD_CFM_VERSION);
619
 
620
+ wp_register_script('gmap_form_api', 'https://maps.google.com/maps/api/js?v=3.exp&key=' . $map_key);
621
  wp_register_script('gmap_form', WD_CFM_URL . '/js/if_gmap_front_end.js', array('jquery'));
622
 
623
  wp_register_script('cfm_main_front_end', WD_CFM_URL . '/js/cfm_main_front_end.js', array('jquery', 'jquery-ui-widget', 'jquery-effects-shake'), WD_CFM_VERSION);
css/contact_form_maker_tables.css CHANGED
@@ -864,6 +864,13 @@ button:focus {
864
  padding: 15px 10px;
865
  }
866
 
 
 
 
 
 
 
 
867
  .fm-theme-banner{
868
  background: #fff;
869
  display: block;
@@ -908,8 +915,8 @@ button:focus {
908
 
909
  .fm-logo {
910
  display: inline-block;
911
- background: url("../images/buttons.png") no-repeat 49% 100%;
912
- width: 100px;
913
  height: 79px;
914
  vertical-align: bottom;
915
  margin-top: 10px;
@@ -941,6 +948,24 @@ button:focus {
941
  height: 47px;
942
  }
943
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
944
  .fm-h2-message{
945
  padding:0 !important;
946
  margin:0 !important;
864
  padding: 15px 10px;
865
  }
866
 
867
+ .fm-options-page-banner {
868
+ background: #fff;
869
+ display: block;
870
+ height: 40px;
871
+ padding: 15px 10px;
872
+ }
873
+
874
  .fm-theme-banner{
875
  background: #fff;
876
  display: block;
915
 
916
  .fm-logo {
917
  display: inline-block;
918
+ background: url("../images/buttons.png") no-repeat 46% 100%;
919
+ width: 82px;
920
  height: 79px;
921
  vertical-align: bottom;
922
  margin-top: 10px;
948
  height: 47px;
949
  }
950
 
951
+ .fm-options-logo {
952
+ display: inline-block;
953
+ background: url("../images/buttons.png") no-repeat 55% 100%;
954
+ width: 42px;
955
+ height: 38px;
956
+ vertical-align: bottom;
957
+ }
958
+
959
+ .fm-options-logo-title {
960
+ text-transform: uppercase;
961
+ display: inline-block;
962
+ font-size: 16px;
963
+ vertical-align: middle;
964
+ width: 100px;
965
+ margin-left: 10px;
966
+ line-height: 19px;
967
+ }
968
+
969
  .fm-h2-message{
970
  padding:0 !important;
971
  margin:0 !important;
css/style.css CHANGED
@@ -525,4 +525,14 @@ fieldset label {
525
  font-size: 15px;
526
  color: #000;
527
  display: none;
 
 
 
 
 
 
 
 
 
 
528
  }
525
  font-size: 15px;
526
  color: #000;
527
  display: none;
528
+ }
529
+
530
+ .fm-field-recaptcha-label {
531
+ color: #BA0D0D;
532
+ font-weight: bold;
533
+ font-size: 13px;
534
+ text-decoration: underline;
535
+ }
536
+ .fm-field-recaptcha-label:hover, .fm-field-recaptcha-label:active, .fm-field-recaptcha-label:visited {
537
+ color: #BA0D0D !important;
538
  }
frontend/models/CFMModelForm_maker.php CHANGED
@@ -61,6 +61,7 @@ class CFMModelForm_maker {
61
  }
62
 
63
  public function savedata($form, $id) {
 
64
  $all_files = array();
65
  $correct = FALSE;
66
  $id_for_old = $id;
@@ -83,7 +84,7 @@ class CFMModelForm_maker {
83
  }
84
  elseif (isset($_POST["recaptcha_response_field"])) {
85
  $recaptcha_response_field = esc_html($_POST["recaptcha_response_field"]);
86
- $privatekey = $form->private_key;
87
  $recaptcha_challenge_field = ((isset($_POST['recaptcha_challenge_field'])) ? esc_html($_POST['recaptcha_challenge_field']) : '');
88
  require_once(WD_CFM_DIR . '/recaptchalib.php');
89
  $resp = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $recaptcha_challenge_field, $recaptcha_response_field);
@@ -97,7 +98,7 @@ class CFMModelForm_maker {
97
  }
98
  }
99
  elseif (isset($_POST["g-recaptcha-response"])) {
100
- $privatekey = $form->private_key;
101
  $w = stream_get_wrappers();
102
  if (in_array('https', $w)) {
103
  $response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=" . $privatekey . "&response=" . $_POST['g-recaptcha-response']);
61
  }
62
 
63
  public function savedata($form, $id) {
64
+ $fm_settings = get_option('cfm_settings');
65
  $all_files = array();
66
  $correct = FALSE;
67
  $id_for_old = $id;
84
  }
85
  elseif (isset($_POST["recaptcha_response_field"])) {
86
  $recaptcha_response_field = esc_html($_POST["recaptcha_response_field"]);
87
+ $privatekey= isset($fm_settings['private_key']) ? $fm_settings['private_key'] : '';
88
  $recaptcha_challenge_field = ((isset($_POST['recaptcha_challenge_field'])) ? esc_html($_POST['recaptcha_challenge_field']) : '');
89
  require_once(WD_CFM_DIR . '/recaptchalib.php');
90
  $resp = recaptcha_check_answer($privatekey, $_SERVER["REMOTE_ADDR"], $recaptcha_challenge_field, $recaptcha_response_field);
98
  }
99
  }
100
  elseif (isset($_POST["g-recaptcha-response"])) {
101
+ $privatekey= isset($fm_settings['private_key']) ? $fm_settings['private_key'] : '';
102
  $w = stream_get_wrappers();
103
  if (in_array('https', $w)) {
104
  $response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=" . $privatekey . "&response=" . $_POST['g-recaptcha-response']);
frontend/views/CFMViewForm_maker.php CHANGED
@@ -23,6 +23,7 @@ class CFMViewForm_maker {
23
  // Public Methods //
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display($id) {
 
26
  wp_enqueue_style('jquery-ui');
27
  wp_enqueue_style('contact_form_maker_frontend');
28
  wp_enqueue_script('gmap_form_api');
@@ -1040,7 +1041,7 @@ class CFMViewForm_maker {
1040
  }
1041
  $param['w_field_label_pos1'] = ($param['w_field_label_pos'] == "left" ? "float: left;" : "");
1042
  $param['w_field_label_pos2'] = ($param['w_field_label_pos'] == "left" ? "" : "display: block;");
1043
- $publickey = $row->public_key ? $row->public_key : '0';
1044
 
1045
  $rep =' <script src="https://www.google.com/recaptcha/api.js"></script><div type="type_recaptcha" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><div class="g-recaptcha" data-sitekey="'.$publickey.'"></div></div></div>';
1046
  break;
23
  // Public Methods //
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display($id) {
26
+ $fm_settings = get_option('cfm_settings');
27
  wp_enqueue_style('jquery-ui');
28
  wp_enqueue_style('contact_form_maker_frontend');
29
  wp_enqueue_script('gmap_form_api');
1041
  }
1042
  $param['w_field_label_pos1'] = ($param['w_field_label_pos'] == "left" ? "float: left;" : "");
1043
  $param['w_field_label_pos2'] = ($param['w_field_label_pos'] == "left" ? "" : "display: block;");
1044
+ $publickey= isset($fm_settings['public_key']) ? $fm_settings['public_key'] : '0';
1045
 
1046
  $rep =' <script src="https://www.google.com/recaptcha/api.js"></script><div type="type_recaptcha" class="wdform-field"><div class="wdform-label-section" style="'.$param['w_field_label_pos1'].'; width: '.$param['w_field_label_size'].'px;"><span class="wdform-label">'.$label.'</span></div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><div class="g-recaptcha" data-sitekey="'.$publickey.'"></div></div></div>';
1047
  break;
images/buttons.png CHANGED
Binary file
js/contactformmaker.js CHANGED
@@ -6948,59 +6948,15 @@ function type_recaptcha(i,w_field_label, w_field_label_size, w_field_label_pos,
6948
  el_style_textarea.setAttribute("onChange", "change_class(this.value,'"+i+"')");
6949
 
6950
  var el_public_label = document.createElement('label');
6951
- el_public_label.style.cssText ="color:#BA0D0D; font-weight:bold; font-size: 13px;text-decoration:underline";
6952
- el_public_label.innerHTML = fmc_objectL10n.fmc_Public_key;
 
6953
 
6954
- var el_public_textarea = document.createElement('input');
6955
- el_public_textarea.setAttribute("id", "public_key");
6956
- el_public_textarea.setAttribute("type", "text");
6957
- el_public_textarea.setAttribute("value", w_public);
6958
- el_public_textarea.style.cssText = "width:200px;";
6959
- el_public_textarea.setAttribute("onChange", "change_key(this.value, 'public_key')");
6960
-
6961
-
6962
- var el_private_label = document.createElement('label');
6963
- el_private_label.style.cssText ="color:#BA0D0D; font-weight:bold; font-size: 13px; text-decoration:underline";
6964
- el_private_label.innerHTML = fmc_objectL10n.fmc_Private_key;
6965
-
6966
- var el_private_textarea = document.createElement('input');
6967
- el_private_textarea.setAttribute("id", "private_key");
6968
- el_private_textarea.setAttribute("type", "text");
6969
- el_private_textarea.setAttribute("value", w_private);
6970
- el_private_textarea.style.cssText = "width:200px;";
6971
- el_private_textarea.setAttribute("onChange", "change_key(this.value, 'private_key')");
6972
-
6973
-
6974
- var el_theme_label = document.createElement('label');
6975
- el_theme_label.style.cssText ="color:#00aeef; font-weight:bold; font-size: 13px";
6976
- el_theme_label.innerHTML = fmc_objectL10n.fmc_Recaptcha_theme;
6977
-
6978
- var el_theme_select = document.createElement('select');
6979
- el_theme_select.style.cssText = "width:100px;";
6980
- el_theme_select.setAttribute("onChange", "change_key(this.value, 'theme')");
6981
-
6982
- var el_theme_option1 = document.createElement('option');
6983
- el_theme_option1.value="red";
6984
- el_theme_option1.innerHTML= fmc_objectL10n.fmc_Red;
6985
-
6986
- var el_theme_option2= document.createElement('option');
6987
- el_theme_option2.value="white";
6988
- el_theme_option2.innerHTML= fmc_objectL10n.fmc_White;
6989
-
6990
- var el_theme_option3= document.createElement('option');
6991
- el_theme_option3.value="blackglass";
6992
- el_theme_option3.innerHTML= fmc_objectL10n.fmc_Blackglass;
6993
-
6994
- var el_theme_option4= document.createElement('option');
6995
- el_theme_option4.value="clean";
6996
- el_theme_option4.innerHTML= fmc_objectL10n.fmc_Clean;
6997
-
6998
- el_theme_select.appendChild(el_theme_option1);
6999
- el_theme_select.appendChild(el_theme_option2);
7000
- el_theme_select.appendChild(el_theme_option3);
7001
- el_theme_select.appendChild(el_theme_option4);
7002
-
7003
- el_theme_select.value=w_theme;
7004
 
7005
 
7006
 
@@ -7118,13 +7074,7 @@ function type_recaptcha(i,w_field_label, w_field_label_size, w_field_label_pos,
7118
  edit_main_td4_1.appendChild(el_style_textarea);
7119
 
7120
  edit_main_td6.appendChild(el_public_label);
7121
- edit_main_td6_1.appendChild(el_public_textarea);
7122
-
7123
- edit_main_td7.appendChild(el_private_label);
7124
- edit_main_td7_1.appendChild(el_private_textarea);
7125
-
7126
- edit_main_td8.appendChild(el_theme_label);
7127
- edit_main_td8_1.appendChild(el_theme_select);
7128
 
7129
  edit_main_td5.appendChild(el_attr_label);
7130
  edit_main_td5.appendChild(el_attr_add);
@@ -7158,18 +7108,12 @@ function type_recaptcha(i,w_field_label, w_field_label_size, w_field_label_pos,
7158
  edit_main_tr5.appendChild(edit_main_td5_1);
7159
  edit_main_tr6.appendChild(edit_main_td6);
7160
  edit_main_tr6.appendChild(edit_main_td6_1);
7161
- edit_main_tr7.appendChild(edit_main_td7);
7162
- edit_main_tr7.appendChild(edit_main_td7_1);
7163
- edit_main_tr8.appendChild(edit_main_td8);
7164
- edit_main_tr8.appendChild(edit_main_td8_1);
7165
  edit_main_table.appendChild(edit_main_tr10);
7166
  edit_main_table.appendChild(edit_main_tr1);
7167
  edit_main_table.appendChild(edit_main_tr9);
7168
  edit_main_table.appendChild(edit_main_tr2);
7169
  /* edit_main_table.appendChild(edit_main_tr3);*/
7170
  edit_main_table.appendChild(edit_main_tr6);
7171
- edit_main_table.appendChild(edit_main_tr7);
7172
- edit_main_table.appendChild(edit_main_tr8);
7173
  edit_main_table.appendChild(edit_main_tr4);
7174
  edit_main_table.appendChild(edit_main_tr5);
7175
  edit_div.appendChild(edit_main_table);
@@ -9352,6 +9296,7 @@ function type_map(i, w_center_x, w_center_y, w_long, w_lat, w_zoom, w_width, w_h
9352
 
9353
  var edit_main_tr7 = document.createElement('tr');
9354
  var edit_main_tr8 = document.createElement('tr');
 
9355
 
9356
  var edit_main_td1 = document.createElement('td');
9357
  var edit_main_td1_1 = document.createElement('td');
@@ -9374,6 +9319,8 @@ function type_map(i, w_center_x, w_center_y, w_long, w_lat, w_zoom, w_width, w_h
9374
 
9375
  var edit_main_td8 = document.createElement('td');
9376
  var edit_main_td8_1 = document.createElement('td');
 
 
9377
 
9378
 
9379
 
@@ -9428,6 +9375,17 @@ function type_map(i, w_center_x, w_center_y, w_long, w_lat, w_zoom, w_width, w_h
9428
  el_map_height.setAttribute("onKeyUp", "change_h_style('"+i+"_elementform_id_temp', this.value);");
9429
 
9430
  Height = document.createTextNode(fmc_objectL10n.fmc_Height);
 
 
 
 
 
 
 
 
 
 
 
9431
 
9432
  var el_style_label = document.createElement('label');
9433
  el_style_label.setAttribute("for", "el_style_textarea");
@@ -9560,6 +9518,9 @@ function type_map(i, w_center_x, w_center_y, w_long, w_lat, w_zoom, w_width, w_h
9560
 
9561
  edit_main_td8.appendChild(el_label_disable);
9562
  edit_main_td8_1.appendChild(el_input_disable);
 
 
 
9563
 
9564
  edit_main_td3.appendChild(el_label_map_size);
9565
  edit_main_td3_1.appendChild(Width);
@@ -9585,6 +9546,8 @@ function type_map(i, w_center_x, w_center_y, w_long, w_lat, w_zoom, w_width, w_h
9585
  edit_main_tr8.appendChild(edit_main_td8);
9586
  edit_main_tr8.appendChild(edit_main_td8_1);
9587
  edit_main_tr2.appendChild(edit_main_td2);
 
 
9588
 
9589
  edit_main_tr7.appendChild(edit_main_td7);
9590
  /*edit_main_tr7.appendChild(edit_main_td7_1);*/
@@ -9602,6 +9565,7 @@ function type_map(i, w_center_x, w_center_y, w_long, w_lat, w_zoom, w_width, w_h
9602
  edit_main_table.appendChild(edit_main_tr3);
9603
  edit_main_table.appendChild(edit_main_tr2);
9604
  edit_main_table.appendChild(edit_main_tr7);
 
9605
  /* edit_main_table.appendChild(edit_main_tr4);*/
9606
  edit_main_table.appendChild(edit_main_tr5);
9607
  edit_main_table.appendChild(edit_main_tr6);
@@ -10717,9 +10681,9 @@ function edit(id) {
10717
  }
10718
  case 'type_recaptcha':
10719
  {
10720
- w_public = document.getElementById("wd_recaptchaform_id_temp").getAttribute("public_key");
10721
- w_private = document.getElementById("wd_recaptchaform_id_temp").getAttribute("private_key");
10722
- w_theme = document.getElementById("wd_recaptchaform_id_temp").getAttribute("theme");
10723
 
10724
  atrs=return_attributes('wd_recaptchaform_id_temp');
10725
  w_attr_name=atrs[0];
@@ -11246,9 +11210,9 @@ function gen_form_fields()
11246
  }
11247
  case 'type_recaptcha':
11248
  {
11249
- w_public = document.getElementById("wd_recaptchaform_id_temp").getAttribute("public_key");
11250
- w_private = document.getElementById("wd_recaptchaform_id_temp").getAttribute("private_key");
11251
- w_theme = document.getElementById("wd_recaptchaform_id_temp").getAttribute("theme");
11252
 
11253
  atrs=return_attributes('wd_recaptchaform_id_temp');
11254
  w_attr_name=atrs[0];
6948
  el_style_textarea.setAttribute("onChange", "change_class(this.value,'"+i+"')");
6949
 
6950
  var el_public_label = document.createElement('label');
6951
+ el_public_label.setAttribute("for", "public_key");
6952
+ el_public_label.setAttribute("class", "fm-field-label");
6953
+ el_public_label.innerHTML = fmc_objectL10n.fmc_Keys;
6954
 
6955
+ var el_public_link = document.createElement('a');
6956
+ el_public_link.setAttribute("href", contact_form_maker_admin_url +"?page=goptions_cfm");
6957
+ el_public_link.setAttribute("class", "fm-field-recaptcha-label");
6958
+ el_public_link.setAttribute("target", "_blank");
6959
+ el_public_link.innerHTML = fmc_objectL10n.fmc_Click_here_recaptcha;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6960
 
6961
 
6962
 
7074
  edit_main_td4_1.appendChild(el_style_textarea);
7075
 
7076
  edit_main_td6.appendChild(el_public_label);
7077
+ edit_main_td6_1.appendChild(el_public_link);
 
 
 
 
 
 
7078
 
7079
  edit_main_td5.appendChild(el_attr_label);
7080
  edit_main_td5.appendChild(el_attr_add);
7108
  edit_main_tr5.appendChild(edit_main_td5_1);
7109
  edit_main_tr6.appendChild(edit_main_td6);
7110
  edit_main_tr6.appendChild(edit_main_td6_1);
 
 
 
 
7111
  edit_main_table.appendChild(edit_main_tr10);
7112
  edit_main_table.appendChild(edit_main_tr1);
7113
  edit_main_table.appendChild(edit_main_tr9);
7114
  edit_main_table.appendChild(edit_main_tr2);
7115
  /* edit_main_table.appendChild(edit_main_tr3);*/
7116
  edit_main_table.appendChild(edit_main_tr6);
 
 
7117
  edit_main_table.appendChild(edit_main_tr4);
7118
  edit_main_table.appendChild(edit_main_tr5);
7119
  edit_div.appendChild(edit_main_table);
9296
 
9297
  var edit_main_tr7 = document.createElement('tr');
9298
  var edit_main_tr8 = document.createElement('tr');
9299
+ var edit_main_tr9 = document.createElement('tr');
9300
 
9301
  var edit_main_td1 = document.createElement('td');
9302
  var edit_main_td1_1 = document.createElement('td');
9319
 
9320
  var edit_main_td8 = document.createElement('td');
9321
  var edit_main_td8_1 = document.createElement('td');
9322
+ var edit_main_td9 = document.createElement('td');
9323
+ var edit_main_td9_1 = document.createElement('td');
9324
 
9325
 
9326
 
9375
  el_map_height.setAttribute("onKeyUp", "change_h_style('"+i+"_elementform_id_temp', this.value);");
9376
 
9377
  Height = document.createTextNode(fmc_objectL10n.fmc_Height);
9378
+
9379
+ var el_public_label = document.createElement('label');
9380
+ el_public_label.setAttribute("for", "public_key");
9381
+ el_public_label.setAttribute("class", "fm-field-label");
9382
+ el_public_label.innerHTML = fmc_objectL10n.fmc_Key;
9383
+
9384
+ var el_public_link = document.createElement('a');
9385
+ el_public_link.setAttribute("href", contact_form_maker_admin_url +"?page=goptions_cfm");
9386
+ el_public_link.setAttribute("class", "fm-field-recaptcha-label");
9387
+ el_public_link.setAttribute("target", "_blank");
9388
+ el_public_link.innerHTML = fmc_objectL10n.fmc_Click_here;
9389
 
9390
  var el_style_label = document.createElement('label');
9391
  el_style_label.setAttribute("for", "el_style_textarea");
9518
 
9519
  edit_main_td8.appendChild(el_label_disable);
9520
  edit_main_td8_1.appendChild(el_input_disable);
9521
+
9522
+ edit_main_td9.appendChild(el_public_label);
9523
+ edit_main_td9_1.appendChild(el_public_link);
9524
 
9525
  edit_main_td3.appendChild(el_label_map_size);
9526
  edit_main_td3_1.appendChild(Width);
9546
  edit_main_tr8.appendChild(edit_main_td8);
9547
  edit_main_tr8.appendChild(edit_main_td8_1);
9548
  edit_main_tr2.appendChild(edit_main_td2);
9549
+ edit_main_tr9.appendChild(edit_main_td9);
9550
+ edit_main_tr9.appendChild(edit_main_td9_1);
9551
 
9552
  edit_main_tr7.appendChild(edit_main_td7);
9553
  /*edit_main_tr7.appendChild(edit_main_td7_1);*/
9565
  edit_main_table.appendChild(edit_main_tr3);
9566
  edit_main_table.appendChild(edit_main_tr2);
9567
  edit_main_table.appendChild(edit_main_tr7);
9568
+ edit_main_table.appendChild(edit_main_tr9);
9569
  /* edit_main_table.appendChild(edit_main_tr4);*/
9570
  edit_main_table.appendChild(edit_main_tr5);
9571
  edit_main_table.appendChild(edit_main_tr6);
10681
  }
10682
  case 'type_recaptcha':
10683
  {
10684
+ w_public = '';
10685
+ w_private = '';
10686
+ w_theme = '';
10687
 
10688
  atrs=return_attributes('wd_recaptchaform_id_temp');
10689
  w_attr_name=atrs[0];
11210
  }
11211
  case 'type_recaptcha':
11212
  {
11213
+ w_public = '';
11214
+ w_private = '';
11215
+ w_theme = '';
11216
 
11217
  atrs=return_attributes('wd_recaptchaform_id_temp');
11218
  w_attr_name=atrs[0];
readme.txt CHANGED
@@ -1,474 +1,477 @@
1
- === Form Builder ===
2
- Contributors: webdorado
3
- Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
- Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contact forms, custom form, Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, text input, validation, send copy, form with captcha, advanced form, recaptcha, contact form with captcha
5
- Requires at least: 3.4
6
- Tested up to: 4.5
7
- Stable tag: 1.0.46
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- Contact Form Builder is an intuitive tool for creating contact forms.
12
-
13
- == Description ==
14
- Create responsive FREE contact forms with multiple templates and theme options.
15
-
16
- [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html)
17
- [Demo](http://wpdemo.web-dorado.com/contact-form-builder/)
18
- [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=manage_cfm)
19
- [User Manual](https://web-dorado.com/wordpress-contact-form-builder/installing.html)
20
-
21
- https://www.youtube.com/watch?v=EqhOv7xVI2w
22
-
23
- Contact Form Builder is the best tool for quickly arranging a contact form for your clients and visitors. The form includes all of the form field types necessary to create a complete contact form, where is those can be activated and deactivated, as well as rearranged.
24
- The responsiveness of the product allows you to become available for contacting using various gadgets.
25
- Using the CSS files of the themes you can achieve the best design of the contact form, applying changes in colors, dimensions and other features.
26
- Captch and ReCaptcha word verifications help to avoid spam. For the specific IPs it is also possible to use blocking IPs feature.
27
- The form has an integrating Google Maps feature allowing you to display the location of your office using Google Maps.
28
- Each form comes with a shortcode displayed in Manager Section for easier copying/pasting it in the post or page, where you want to display.
29
- After submitting the form, the users might get a custom text and even receive an email copy of the submissions.
30
-
31
-
32
-
33
-
34
- IMPORTANT: If you think you found a bug in the Contact Form Builder or have any problem or question concerning Contact Form Builder, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
35
-
36
- Features of [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html)
37
-
38
- * Responsiveness.
39
- * 10 default form templates included.
40
- * Possibility of creating new forms based on the default templates.
41
- * Possibility of changing the labels, content and options for each form.
42
- * Possibility of deactivating and arranging fields.
43
- * Support for additional attributes for each fields.
44
- * Blocking IPs and word verification possibilities.
45
- * No possibility of adding new form fields, possibility to edit and enable/disable the large number of existing fields.
46
- * Detailed Email Options both for the Administrator and User for receiving the submitted data.
47
- * Emailing option to the administrator upon submitting a form.
48
- * Google Maps integration.
49
- * Possibility of sending the copy of the submitted data to the user.
50
- * Google ReCaptcha and simple captcha support for avoiding spam.
51
- * Possibility to change the form layout using the corresponding section.
52
- * Preview possibility for each form at the Manager Section.
53
- * Possibility to create required fields.
54
- * Support for displaying custom text after hitting submit button, as well as redirection to a custom page or url.
55
-
56
- Upgrade to [WordPress Contact Form Builder Pro](http://web-dorado.com/products/wordpress-contact-form-builder.html) to add features:
57
-
58
- * 37 themes based on various color schemes.
59
- * Submissions section.
60
- * Possibility of exporting the received data both in CSV and XML formats.
61
- * Statistical data for the multi-option form fields
62
- * Support for displaying the submitter information within the Submissions section IP pop-up.
63
-
64
- ### Supported languages Of Contact Form Builder
65
-
66
- *If you need language of Contact Form Builder which is not included in this list, please contact us and we will do the translation of Contact Form Builder within 3 days. If you find any mistakes in the translation of Contact Form Builder, please contact us and we will make relevant corrections within 3 days.*
67
-
68
- Afrikaans (af)
69
- Albanian (sq)
70
- Arabic (ar)
71
- Armenian (hy_AM)
72
- Belarusian (be_BY)
73
- Bulgarian (bg_BG)
74
- Catalan (ca)
75
- Chinese, Simplified (zh_CN)
76
- Croatian (hr)
77
- Czech (cs_CZ)
78
- Danish (da_DK)
79
- Dutch (nl_NL)
80
- Esperanto (eo_EO)
81
- Estonian (et)
82
- Finnish (fi)
83
- French (fr_FR)
84
- Galician (gl_ES)
85
- Georgian (ka_GE)
86
- German (de_DE)
87
- Greek (el)
88
- Hebrew (he_IL)
89
- Hindi (hi_IN)
90
- Hungarian (hu_HU)
91
- Indonesian (id_ID)
92
- Italian (it_IT)
93
- Japanese (ja)
94
- Korean (ko_KR)
95
- Latvian (lv)
96
- Lithuanian (lt_LT)
97
- Macedonian (mk_MK)
98
- Malay (ms_MY)
99
- Maltese (mt_MT)
100
- Norwegian (nb_NO)
101
- Persian (fa_IR)
102
- Polish (pl_PL)
103
- Portuguese (pt_PT)
104
- Russian (ru_RU)
105
- Romanian (ro_RO)
106
- Serbian (sr_RS)
107
- Slovak (sk_SK)
108
- Spanish (es_ES)
109
- Swedish (sv_SE)
110
- Tamil (ta)
111
- Thai (th)
112
- Turkish (tr_TR)
113
- Ukrainian (uk_UA)
114
- Vietnamese (vi)
115
-
116
- == Installation ==
117
-
118
- ####Thank you for your interest in [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html).
119
-
120
- ### Minimum requirements.
121
- * Wordpress 3.0+
122
- * PHP 5.x
123
- * MySQL 5.x
124
-
125
- ### Perform a new installation
126
-
127
- After downloading the ZIP file,
128
-
129
- 1. Log in to the administrator panel.
130
- 2. Go to Plugins Add > New > Upload.
131
- 3. Click “Choose file” (“Browse”) and select the downloaded zip file.
132
- *For Mac Users*
133
- *Go to your Downloads folder and locate the folder with the plugin. Right-click on the folder and select Compress. Now you have a newly created .zip file which can be installed as described here.*
134
- 1. Click “Install Now” button.
135
- 2. Click “Activate Plugin” button for activating the plugin.
136
- 3. If the installation does not succeed, please contact us at info@web-dorado.com.
137
-
138
-
139
- == Changelog ==
140
-
141
- = 1.0.46 =
142
- Fixed: IPv6 in submissions.
143
-
144
- = 1.0.45 =
145
- Changed: Styles improvements on admin pages.
146
-
147
- = 1.0.44 =
148
- Changed: Featured plugins page.
149
-
150
- = 1.0.43 =
151
- Changed: Add scripts and styles only on necessary pages.
152
-
153
- = 1.0.42 =
154
- Changed: Featured plugins, themes page.
155
- Changed: Unistall page.
156
-
157
- = 1.0.41 =
158
- Fixed: CC, BCC multiple emails.
159
-
160
- = 1.0.40 =
161
- Added: Optional delimiter for exported csv.
162
- Changed: Featured plugins page.
163
-
164
- = 1.0.39 =
165
- Fixed: Email from name with quotes.
166
-
167
- = 1.0.38 =
168
- Changed: Improve submissions export.
169
- Changed: Manager page buttons disposition.
170
-
171
- = 1.0.37 =
172
- Changed: Integrated with new version of reCAPTCHA.
173
-
174
- = 1.0.36 =
175
- Changed: Backend design.
176
-
177
- = 1.0.35 =
178
- Fixed: Inserting fields to custom text in Email.
179
-
180
- = 1.0.34 =
181
- Changed: Featured plugins page.
182
-
183
- = 1.0.33 =
184
- Changed: Italian language file.
185
-
186
- = 1.0.32 =
187
- Changed: Mail header.
188
-
189
- = 1.0.31 =
190
- Changed: Notices show order.
191
-
192
- = 1.0.30 =
193
- Added: Support/rate us messages.
194
-
195
- = 1.0.29 =
196
- Added: RegExp for text fields.
197
-
198
- = 1.0.28 =
199
- Changed: Compability with Wordpress 4.3.
200
-
201
- = 1.0.27 =
202
- Fixed: Javascript conflict with some themes.
203
-
204
- = 1.0.26 =
205
- Changed: Shortcode.
206
-
207
- = 1.0.25 =
208
- Security issue fixed.
209
-
210
- = 1.0.24 =
211
- Changed: Featured plugins page.
212
-
213
- = 1.0.23 =
214
- Fixed: Show statistics in submissions.
215
- Fixed: Save field after edit.
216
-
217
- = 1.0.22 =
218
- Added: Form fields drag & drop in backend.
219
-
220
- = 1.0.21 =
221
- Changed: Featured plugins page.
222
- New: Featured themes page.
223
-
224
- = 1.0.20 =
225
- Fixed: Alert messages with single quotes.
226
- Fixed: Some countries translations.
227
-
228
- = 1.0.19 =
229
- Fixed: Blocked IPs color.
230
- New: Backend trnaslation.
231
-
232
- = 1.0.18 =
233
- New: Mailer option (Wordpress or PHP)
234
- Bug fixed: Delete theme.
235
- Bug fixed: Empty From name.
236
-
237
- = 1.0.17 =
238
- * add ability to call form with php function
239
- * bug fixed in captcha
240
-
241
- = 1.0.16 =
242
- * bug in ReCaptcha fixed
243
-
244
- = 1.0.15 =
245
- * wp 4.0.1 shortcode issue fixed
246
-
247
- = 1.0.13 =
248
- * remove spacing on the top of the form
249
-
250
- = 1.0.12 =
251
- * bug fixed in address field
252
-
253
- = 1.0.11 =
254
- * bug address field structure fixed
255
-
256
- = 1.0.10 =
257
- * bug fixed in update
258
-
259
- = 1.0.9 =
260
- * show submitter information by IP in popup
261
-
262
- = 1.0.8 =
263
- * bug fixed in map
264
-
265
- = 1.0.7 =
266
- * email form name bug fixed
267
-
268
- = 1.0.6 =
269
- * address fields in submissions
270
-
271
- = 1.0.5 =
272
- * space in filed label
273
-
274
- = 1.0.4 =
275
- * custom html iframe problem fixed
276
-
277
- = 1.0.3 =
278
- * responsive textarea
279
-
280
- = 1.0.2 =
281
- * translations fixed
282
-
283
- = 1.0.1 =
284
- * conflict with jetpack fixed
285
-
286
- = 1.0.0 =
287
- * Initial version
288
-
289
-
290
- == Screenshots ==
291
- 1. Contact Form Builder - Contact Form 1
292
- 2. Contact Form Builder - Contact Form 2
293
- 3. Contact Form Builder - Manage Form
294
- 4. Contact Form Builder - Email Option
295
-
296
-
297
- == Frequently Asked Questions ==
298
-
299
- = 1. Can I add more fields to Contact Form Builder? =
300
- There is no possibility of adding additional fields, but instead there is an option of activating/deactivating fields or modifying the available fields. By default the package includes 10 forms.
301
-
302
- = 2. Where are the submitted entries stored? =
303
- The entries are being emailed to the Administrator based on the providing email in the Email Options (located within Form Options).
304
-
305
- = 3. Are there any limitations on the number of forms or entries to be used within a single website? =
306
- There are no limitations on the number of entries per form. You can use unlimited number of forms within each website.
307
-
308
- = 4. What can I use to avoid Spam entries? =
309
- The Contact Form Builder has a possibility of adding two type of word verifications- Standard Captcha and Google ReCaptcha protection. If you are receiving spam entries from a single or a few IPs, you can use Blocking IPs option.
310
-
311
- = 5. Is it possible to translate the Contact Form Builder into another language? =
312
- It is only possible to translate the front end of the plugin. To do so, you should set define('WPLANG','[lang_code]') to the desired language code in wp_config.php file of your website. This way the plugin should be translated automatically. Please be informed, that you can modify the translations from wp-content/plugins/contact_form_maker/languages/ (you will need POEdit http://www.poedit.net/download.php).
313
-
314
- = 6. What to do if Administrator and/or user do not receive submissions in their email? =
315
- There are a few options to try out first:
316
- Check whether the entries are filtered into spam/junk folders or not.
317
- Try using standard emails (Gmail/Yahoo/Hotmail and etc.) or an email which uses the same domain as the website
318
- Check with your hosting provider whether you have your PHP mail activated or not.
319
- If these options do not work, please install STMP plugin (e.g. http://wordpress.org/plugins/webriti-smtp-mail/). The authentication details for the Gmail are the following:
320
- Mailer: smtp
321
- SMTP Authentication: yes
322
- SMTP Security: SSL
323
- SMTP Port: 465
324
- SMTP Username: your gmail full address
325
- SMTP Password: your gmail password
326
- SMTP Host: smtp.gmail.com
327
-
328
- After installation please use the test option. If the test email failed contact your hosting provider to fix the issue.
329
-
330
- = 7. Is the Contact Form Builder fully responsive? =
331
- Yes, the Contact Form Builder is fully responsive and works with various smartphones and tablets.
332
-
333
-
334
- ==Wordpress Contact Form Builder Step by step guide==
335
-
336
- Step 1: Installing the [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html).
337
-
338
-
339
- 1.1 Minimum requirements.
340
-
341
- • Wordpress 3.0+
342
- • PHP 5.x
343
- • MySQL 5.x
344
-
345
- 1.2 Performing a new installation of the Contact Form Builder:
346
-
347
- 1. Log in to the Administrator panel.
348
- 2. Go to Plugins section. Here- Add > New > Upload.
349
- 3. Click “Choose file” (“Browse”) and select the “Contact Form Builder” zip file.
350
- For Mac Users
351
- Go to your Downloads folder and locate the folder with the plugin. Right-click on the folder and select Compress. Now you have a newly created .zip file which can be installed as described here.
352
- 4. Click “Install Nowbutton.
353
- 5. Click “Activate Plugin” button for activating the Contact Form Builder plugin.
354
- 6. If the installation does not succeed, please contact us at info@web-dorado.com.
355
-
356
-
357
- = Step 2: Editing and adjusting Contact Form Builder. =
358
-
359
- 2.1 Go to Contact Form Builder > Manager.
360
- 2.2 Select the Contact Form you want to make the relevant changes. Click on the title to open the specified contact form.
361
- Here you will see three sets of buttons- navigation buttons, “pencil” button for editing the contact form fields and checkbox. Let’s discuss each button separately:
362
- 2.3 Navigation Buttons. 4 navigation arrows are displayed next to each contact form field. You can use those arrows to move the contact form fields up, down, left or right. Note: for larger contact form fields to get the idea of the contact form display in the front-end you should press Collapse menu on the lowest left corner.
363
-
364
- 2.4 Edit button. Using edit button, you will be able to apply specific changes in the contact form field, including titles, labels, dimensions and etc.
365
- 2.5 Checkbox. Using the checkboxes next to the contact form fields you can enable or disable the provided field.
366
-
367
-
368
- = Step 3: Configuring Form Options of the Contact Form Builder. =
369
- The contact form options for each contact form can be adjusted. Go to the Contact Form Builder>Manager, select the contact form and then get to the Form Options. It uses three sections. General options, Email options for the emails to the Administrator and User and Action after Submission for specifying the action once the contact form is submitted.
370
-
371
- 3.1 General Options of the Contact Form Builder
372
-
373
- 3.1.1 Published. Choose whether to publish the created contact form or leave it unpublished for the further publishing.
374
- 3.1.2 Save data (to database). Choose whether to save the data (filled in contact form) in the database (submissions section) or to have email sent out only. IMPORTANT: Please make sure to set up the email options properly in the Email options section of the Contact Form Builder and test it out. Disabling this option is only applicable when you prefer to receive contact form submissions only via email.
375
- 3.1.3 Theme. The theme of the contact form can be changed to fit the theme of your website. It can be applied to each new contact form. The contact form comes with 37 default themes. The themes can be edited; there is a possibility of adding new themes to use for contact forms of the other pages (Go to Contact Form Builder>Themes>Add new.)
376
- 3.1.4 Preview. This option will allow viewing the contact form appearance within the selected theme.
377
- 3.1.5 Edit CSS. This options allows you to make changes in the contact form theme CSS without the need of leaving the form page. You can press Save and use Preview button to view the changes.
378
- 3.1.6 Required fields mark. Here you can change the symbol of the indicator used for the required contact form fields. By default it is asterisk and will be displayed at the end of the contact form field (*).
379
- 3.2 Email Options
380
- 3.2.1 Send Email. Choose whether to send emails containing the contact form entries to administrator(s)/submitter or not.
381
- 3.2.2 Email to Administrator Email to send submissions to. Here you provide e-mails to which submitted contact form information is sent. If you need more than one e-mail address, you should press + button to add the new one.
382
- Email From. Here you specify the email address from which the administrator(s) receives the submission email (sender’s email). If you have an email address field in your form, you can use this user-submitted email address.
383
- • From Name. Here you specify the sender’s name which is shown in submission email.
384
- • Reply to:(if different from "Email From"). Here you can specify the email address the administrator can reply to. If you have an email address field in your contact form, you can use this user-submitted email address.
385
- • CC. Provide additional email/emails to send the submissions of the contact form. The receiver will be able to view all the emails receiving the submissions.
386
- BCC. Provide additional email/emails to send the submissions of the contact form. The receiver will not be able to view the emails receiving the submissions.
387
- Subject. You can provide a text to be used as a subject for the email. In addition using + button you can select any of the contact form fields to be set as a separate subject for the email or use it with additional text, e.g. Submission of + %Name%.
388
- Mode. Specify the mode of the email to the administrator- HTML or text. HTML will display the contact form within a box, whereas text will display the content of the filled contact form only.
389
- Custom Text in Email For Administrator. Here you can add custom texts, images, and custom HTML to the e-mail message that is sent to the administrator (filled in contact form), as well as choose which fields of the submitted form are included in the e-mail (set to ‘all’ by default).
390
- 3.2.3 Email to User
391
- Send to. By checking the box the submitters will receive their copy of the filled contact form.
392
- • Email From. Here you specify the email address from which the users receive the submission email.
393
- • From Name. Here you specify the sender’s name which is shown in submission email which the users receive.
394
- Reply to:(if different from "Email From"). Here you can specify the email address the user can reply to.
395
- CC. Provide additional email/emails to send the submissions of the contact form. The receiver will be able to view all the emails receiving the submissions.
396
- BCC. Provide additional email/emails to send the submissions of the contact form. The receiver will not be able to view the emails receiving the submissions.
397
- Subject. You can provide a text to be used as a subject for the email. In addition using + button you can select any of the contact form fields to be set as a separate subject for the email or use it with additional text, e.g. Submission of + %Name%.
398
- Mode. Specify the mode of the email (filled in contact form) to the administrator- HTML or text. HTML will display the contact form within a box, whereas text will display the content of the filled contact form only.
399
- Custom Text in Email For User. Here you can add custom texts, images, and custom HTML to the e-mail message that is sent to the administrator, as well as choose which fields of the submitted form are included in the e-mail (set to ‘all’ by default).
400
-
401
-
402
-
403
- = Step 4: Description of the Contact Form Builder fields. =
404
-
405
-
406
- 4.1 Text Input Fields. There is a list of contact form fields which can be referred as text input fields.
407
- Simple text. This contact form field allows adding any kind of textual entry. It has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Deactivate Class Name. This is the static CSS class of the deactive text input field. • Active Class Name. This is the static CSS class of the active text input field. • Required. Check the box to make the contact form field a required one. • Allow only unique values. Check the box to allow only unique entries for the specified contact form field. • Additional attributes. This field allows adding additional features to the contact form field to customize it, e.g. for allowing displaying maximum 8 symbols you can use the following properties: -Name: maxlength -Value: 8
408
- Text Area. This contact form field allows adding longer textual entries expending with the text and adding automatic rows. It has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it, e.g. for allowing displaying maximum 8 symbols you can use the following properties: -Name: maxlength -Value: 8
409
- Name. This contact form field allows adding short or extended name entries. It has the following attributes: • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field.• Value if Empty. Fill in the text which will be displayed when the form field is empty. • Field size. Define the dimensions of the field. • Name Format. Select the name format. Extended version will include 4 rows of the text input. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it.
410
- Address. This contact form field allows adding address. It has editable labels, some of the subfields can be removed. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Overall size. Define the overall size of the field. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) Disable fields. Select the fields to hide from the list. US list for States. Check the box to display the states in a select box whenever US is stated as a country. • Required. Check the box to make the field a required one. • Additional attributes. This field allows adding additional features to the field to customize it.
411
- Address (Mark on Map). This contact form field allows adding address directly marking it on a map based on geolocating possibility. It has the following attributes: • Map size. Set the width and the height of the map. • Address. The address will be set automatically when using the marker or longitude/latitude options. • Longitude. Provide the longitude of the location or get it automatically set when dragging the marker to the desired location. • Latitude. Provide the latitude of the location or get it automatically set when dragging the marker to the desired location. • Marker info. You can add an information to be displayed with the marker. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
412
- Email. This contact form field allows adding submitter’s email. It gets validated so that the users will add it in the appropriate format. It has the following attributes: • Field label. Provide the label text.• Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Allow only unique values. Check the box to allow only unique entries for the field. • Required. Check the box to make the field a required one. • Additional attributes. This field allows adding additional features to the field to customize it.
413
- Number. You can add numerical entry field using this field. It has the following attributes: Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it, e.g. for allowing displaying maximum 8 symbols you can use the following properties: -Name: maxlength -Value: 8
414
- Phone. You can add full phone contact information. It has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it.
415
- Send copy to submitter. This contact form field allows the user to choose whether to receive the submitted information or not.
416
- 4.2 Custom HTML. This contact form field allows adding custom HTML format content. It uses typical HTML editor.
417
-
418
- 4.3 Select. This contact form field allows adding a drop-down list of items into the Contact Form Builder. The set can be defined with the help of Options attribute. Using the checkbox you can make the values considered as empty, e.g. Select Option. Using the X button you can remove the unnecessary options. The rest of the attributes are the following: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label.
419
- • Field label position. Define the positioning of the contact form field label. Field size. Define the dimensions of the contact form field. Value if Empty. Fill in the text which will be displayed when the form field is empty.• Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Additional attributes. This field allows adding additional features to the field to customize it.
420
-
421
- 4.4. Single Choice. This contact form field can be used for selecting the values from a list of radio buttons. The list can be defined by Options attribute. You can easily add and remove list items. The list can be displayed in horizontal/vertical positions by setting the Relative Position attribute. You can use Rows/Columns field if you want the options to be displayed in a row/column (depending on the positioning choice). The number of rows/columns should be specified. The field has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Relative position. Choose the options display between horizontal and vertical possibilities. • Rows/Columns. Define the name for the rows/columns. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Randomized in frontend. Choose whether to have the options in a specific ordering or have it randomized. • Allow other. Allow adding other values rather than the options within a text field. • Additional attributes. This field allows adding additional features to the field to customize it.
422
-
423
- 4.5 Multiple choice. This contact form field can be used for selecting the values from a list of checkboxes. The list can be defined by Options attribute. You can easily add and remove list items. The list can be displayed in horizontal/vertical positions by setting the Relative Position attribute. You can use Rows/Columns field if you want the options to be displayed in a row/column (depending on the positioning choice). The number of rows/columns should be specified. The field has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Relative position. Choose the options display between horizontal and vertical possibilities. • Rows/Columns. Define the name for the rows/columns. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Randomized in frontend. Choose whether to have the options in a specific ordering or have it randomized. • Allow other. Allow adding other values rather than the options within a text field. • Additional attributes. This field allows adding additional features to the field to customize it.
424
-
425
- 4.6 Captcha. This field can be used for receiving human generated contact form entries. There are two options for this contact form field: Captcha: • Field label. Provide the label text. • Field label size. Set the size of the field label. • Field label position. Define the positioning of the field label. • Captcha size. Select the number of the characters to be displayed with Captcha. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
426
- ReCaptcha: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Public Key. Specify the public key of the Recaptcha. Private Key. Specify the private key of the Recaptcha. Recaptcha Theme. Select the theme to be applied to the Recaptcha. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
427
-
428
- 4.10 Section Break: This option allows adding sections and dividing them with break lines.
429
-
430
- 4.11 Submit Button. This field allows adding Submit and Reset buttons for the contact form. You can edit the label of the buttons to the preferred option. The buttons have two attributes: • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
431
-
432
-
433
- = Step 5: Publishing the created Contact Form. =
434
- For inserting the contact form into a Page or a Post:
435
- 5.1. Open the page or post where you want to post the Contact Form.
436
-
437
- 5.2. Check the buttons in your editor. Find and press the button titled as Insert Contact Form.
438
-
439
- 5.3. Select the contact form from the list and press Insert button.
440
-
441
- 5.4. Save the page or the post.
442
-
443
- If you do not use the typical tinyMCE editor, you can add the shortcode of the Contact Form Builder manually:
444
- Add the shortcode [Contact_Form_Builder id="N"] (where N is the id of the contact form, e.g. if id=2, the shortcode must be [Contact_Form_Builder id="N"]. Similar to the first instructions you should add the created shortcode into the pages and posts, where you want the contact form to appear. The shortcode list can be copied from the Manager section in Contact Form Builder> Manager
445
-
446
-
447
- = Step 6: Blocking IPs =
448
- 6.1 Go to Plugins > Contact Form Builder > Blocked IPs.
449
-
450
- 6.2 IP. Provide the IP address you want to block in the line.
451
-
452
- 6.3 Press Add IP button. Note: Another option of blocking IPs can be done from the Submissions section of the Contact Form Builder. You should go to Contact Form Builder > Submissions. Check the box in front of Spam submissions and press Block IP button at the top right corner. In addition you can unblock the IP using Unblock IP button in the same location.
453
-
454
-
455
-
456
- = Step 7: Managing submissions of the Contact Form Builder. =
457
-
458
- 7.1 Go to Contact Form Builder > Submissions.
459
-
460
- 7.2 In order to manage the submissions of specific contact form select the form using the drop-down list.
461
-
462
- 7.3 In the upper part you will see the statistical data for that contact form: - Entries: The number of submitted contact forms. - Views: The number of times the contact form has been viewed (but not necessarily submitted). - Conversion Rate: The percentage of submitted contact forms to the overall number of contact form views.
463
-
464
- 7.4 For the contact forms that contain checkboxes or radio buttons a separate statistics is available. It shows how many times a particular checkbox/radio button has been checked, and what is the ratio of that number to the overall number of checks.
465
-
466
- 7.5 There is a possibility to search the contact form submissions database by all the relevant fields of the given form. Submissions can be sorted by any of the fields of the form by clicking the labels.
467
-
468
- 7.6 You can delete any of contact form submissions by selecting them (with the checkbox) and pressing the “Delete” button at the top of the page.
469
-
470
- 7.7 It is also possible to edit the contact form submissions by clicking on the “Edit” icon on the upper right corner of the “Submissions” section. The submitted contact form will open in the original Form view and you can make the corresponding changes.
471
-
472
- 7.8 You can add/remove any column of the contact form submissions by “Add/Remove Columns” button. This can be used to view only specific fields and not for deleting the entire column.
473
-
474
- 7.9 The contact form submissions can be exported using CSV and XML formats.
 
 
 
1
+ === Form Builder ===
2
+ Contributors: webdorado
3
+ Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
+ Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contact forms, custom form, Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, text input, validation, send copy, form with captcha, advanced form, recaptcha, contact form with captcha
5
+ Requires at least: 3.4
6
+ Tested up to: 4.5
7
+ Stable tag: 1.0.47
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ Contact Form Builder is an intuitive tool for creating contact forms.
12
+
13
+ == Description ==
14
+ Create responsive FREE contact forms with multiple templates and theme options.
15
+
16
+ [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html)
17
+ [Demo](http://wpdemo.web-dorado.com/contact-form-builder/)
18
+ [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=manage_cfm)
19
+ [User Manual](https://web-dorado.com/wordpress-contact-form-builder/installing.html)
20
+
21
+ https://www.youtube.com/watch?v=EqhOv7xVI2w
22
+
23
+ Contact Form Builder is the best tool for quickly arranging a contact form for your clients and visitors. The form includes all of the form field types necessary to create a complete contact form, where is those can be activated and deactivated, as well as rearranged.
24
+ The responsiveness of the product allows you to become available for contacting using various gadgets.
25
+ Using the CSS files of the themes you can achieve the best design of the contact form, applying changes in colors, dimensions and other features.
26
+ Captch and ReCaptcha word verifications help to avoid spam. For the specific IPs it is also possible to use blocking IPs feature.
27
+ The form has an integrating Google Maps feature allowing you to display the location of your office using Google Maps.
28
+ Each form comes with a shortcode displayed in Manager Section for easier copying/pasting it in the post or page, where you want to display.
29
+ After submitting the form, the users might get a custom text and even receive an email copy of the submissions.
30
+
31
+
32
+
33
+
34
+ IMPORTANT: If you think you found a bug in the Contact Form Builder or have any problem or question concerning Contact Form Builder, do not hesitate to contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
35
+
36
+ Features of [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html)
37
+
38
+ * Responsiveness.
39
+ * 10 default form templates included.
40
+ * Possibility of creating new forms based on the default templates.
41
+ * Possibility of changing the labels, content and options for each form.
42
+ * Possibility of deactivating and arranging fields.
43
+ * Support for additional attributes for each fields.
44
+ * Blocking IPs and word verification possibilities.
45
+ * No possibility of adding new form fields, possibility to edit and enable/disable the large number of existing fields.
46
+ * Detailed Email Options both for the Administrator and User for receiving the submitted data.
47
+ * Emailing option to the administrator upon submitting a form.
48
+ * Google Maps integration.
49
+ * Possibility of sending the copy of the submitted data to the user.
50
+ * Google ReCaptcha and simple captcha support for avoiding spam.
51
+ * Possibility to change the form layout using the corresponding section.
52
+ * Preview possibility for each form at the Manager Section.
53
+ * Possibility to create required fields.
54
+ * Support for displaying custom text after hitting submit button, as well as redirection to a custom page or url.
55
+
56
+ Upgrade to [WordPress Contact Form Builder Pro](http://web-dorado.com/products/wordpress-contact-form-builder.html) to add features:
57
+
58
+ * 37 themes based on various color schemes.
59
+ * Submissions section.
60
+ * Possibility of exporting the received data both in CSV and XML formats.
61
+ * Statistical data for the multi-option form fields
62
+ * Support for displaying the submitter information within the Submissions section IP pop-up.
63
+
64
+ ### Supported languages Of Contact Form Builder
65
+
66
+ *If you need language of Contact Form Builder which is not included in this list, please contact us and we will do the translation of Contact Form Builder within 3 days. If you find any mistakes in the translation of Contact Form Builder, please contact us and we will make relevant corrections within 3 days.*
67
+
68
+ Afrikaans (af)
69
+ Albanian (sq)
70
+ Arabic (ar)
71
+ Armenian (hy_AM)
72
+ Belarusian (be_BY)
73
+ Bulgarian (bg_BG)
74
+ Catalan (ca)
75
+ Chinese, Simplified (zh_CN)
76
+ Croatian (hr)
77
+ Czech (cs_CZ)
78
+ Danish (da_DK)
79
+ Dutch (nl_NL)
80
+ Esperanto (eo_EO)
81
+ Estonian (et)
82
+ Finnish (fi)
83
+ French (fr_FR)
84
+ Galician (gl_ES)
85
+ Georgian (ka_GE)
86
+ German (de_DE)
87
+ Greek (el)
88
+ Hebrew (he_IL)
89
+ Hindi (hi_IN)
90
+ Hungarian (hu_HU)
91
+ Indonesian (id_ID)
92
+ Italian (it_IT)
93
+ Japanese (ja)
94
+ Korean (ko_KR)
95
+ Latvian (lv)
96
+ Lithuanian (lt_LT)
97
+ Macedonian (mk_MK)
98
+ Malay (ms_MY)
99
+ Maltese (mt_MT)
100
+ Norwegian (nb_NO)
101
+ Persian (fa_IR)
102
+ Polish (pl_PL)
103
+ Portuguese (pt_PT)
104
+ Russian (ru_RU)
105
+ Romanian (ro_RO)
106
+ Serbian (sr_RS)
107
+ Slovak (sk_SK)
108
+ Spanish (es_ES)
109
+ Swedish (sv_SE)
110
+ Tamil (ta)
111
+ Thai (th)
112
+ Turkish (tr_TR)
113
+ Ukrainian (uk_UA)
114
+ Vietnamese (vi)
115
+
116
+ == Installation ==
117
+
118
+ ####Thank you for your interest in [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html).
119
+
120
+ ### Minimum requirements.
121
+ * Wordpress 3.0+
122
+ * PHP 5.x
123
+ * MySQL 5.x
124
+
125
+ ### Perform a new installation
126
+
127
+ After downloading the ZIP file,
128
+
129
+ 1. Log in to the administrator panel.
130
+ 2. Go to Plugins Add > New > Upload.
131
+ 3. Click “Choose file” (“Browse”) and select the downloaded zip file.
132
+ *For Mac Users*
133
+ *Go to your Downloads folder and locate the folder with the plugin. Right-click on the folder and select Compress. Now you have a newly created .zip file which can be installed as described here.*
134
+ 1. Click “Install Now” button.
135
+ 2. Click “Activate Plugin” button for activating the plugin.
136
+ 3. If the installation does not succeed, please contact us at info@web-dorado.com.
137
+
138
+
139
+ == Changelog ==
140
+ = 1.0.47 =
141
+ Added: Global option section for ReCaptcha and Google Maps API keys
142
+ Fixed: Google Maps API key warning in browser
143
+
144
+ = 1.0.46 =
145
+ Fixed: IPv6 in submissions.
146
+
147
+ = 1.0.45 =
148
+ Changed: Styles improvements on admin pages.
149
+
150
+ = 1.0.44 =
151
+ Changed: Featured plugins page.
152
+
153
+ = 1.0.43 =
154
+ Changed: Add scripts and styles only on necessary pages.
155
+
156
+ = 1.0.42 =
157
+ Changed: Featured plugins, themes page.
158
+ Changed: Unistall page.
159
+
160
+ = 1.0.41 =
161
+ Fixed: CC, BCC multiple emails.
162
+
163
+ = 1.0.40 =
164
+ Added: Optional delimiter for exported csv.
165
+ Changed: Featured plugins page.
166
+
167
+ = 1.0.39 =
168
+ Fixed: Email from name with quotes.
169
+
170
+ = 1.0.38 =
171
+ Changed: Improve submissions export.
172
+ Changed: Manager page buttons disposition.
173
+
174
+ = 1.0.37 =
175
+ Changed: Integrated with new version of reCAPTCHA.
176
+
177
+ = 1.0.36 =
178
+ Changed: Backend design.
179
+
180
+ = 1.0.35 =
181
+ Fixed: Inserting fields to custom text in Email.
182
+
183
+ = 1.0.34 =
184
+ Changed: Featured plugins page.
185
+
186
+ = 1.0.33 =
187
+ Changed: Italian language file.
188
+
189
+ = 1.0.32 =
190
+ Changed: Mail header.
191
+
192
+ = 1.0.31 =
193
+ Changed: Notices show order.
194
+
195
+ = 1.0.30 =
196
+ Added: Support/rate us messages.
197
+
198
+ = 1.0.29 =
199
+ Added: RegExp for text fields.
200
+
201
+ = 1.0.28 =
202
+ Changed: Compability with Wordpress 4.3.
203
+
204
+ = 1.0.27 =
205
+ Fixed: Javascript conflict with some themes.
206
+
207
+ = 1.0.26 =
208
+ Changed: Shortcode.
209
+
210
+ = 1.0.25 =
211
+ Security issue fixed.
212
+
213
+ = 1.0.24 =
214
+ Changed: Featured plugins page.
215
+
216
+ = 1.0.23 =
217
+ Fixed: Show statistics in submissions.
218
+ Fixed: Save field after edit.
219
+
220
+ = 1.0.22 =
221
+ Added: Form fields drag & drop in backend.
222
+
223
+ = 1.0.21 =
224
+ Changed: Featured plugins page.
225
+ New: Featured themes page.
226
+
227
+ = 1.0.20 =
228
+ Fixed: Alert messages with single quotes.
229
+ Fixed: Some countries translations.
230
+
231
+ = 1.0.19 =
232
+ Fixed: Blocked IPs color.
233
+ New: Backend trnaslation.
234
+
235
+ = 1.0.18 =
236
+ New: Mailer option (Wordpress or PHP)
237
+ Bug fixed: Delete theme.
238
+ Bug fixed: Empty From name.
239
+
240
+ = 1.0.17 =
241
+ * add ability to call form with php function
242
+ * bug fixed in captcha
243
+
244
+ = 1.0.16 =
245
+ * bug in ReCaptcha fixed
246
+
247
+ = 1.0.15 =
248
+ * wp 4.0.1 shortcode issue fixed
249
+
250
+ = 1.0.13 =
251
+ * remove spacing on the top of the form
252
+
253
+ = 1.0.12 =
254
+ * bug fixed in address field
255
+
256
+ = 1.0.11 =
257
+ * bug address field structure fixed
258
+
259
+ = 1.0.10 =
260
+ * bug fixed in update
261
+
262
+ = 1.0.9 =
263
+ * show submitter information by IP in popup
264
+
265
+ = 1.0.8 =
266
+ * bug fixed in map
267
+
268
+ = 1.0.7 =
269
+ * email form name bug fixed
270
+
271
+ = 1.0.6 =
272
+ * address fields in submissions
273
+
274
+ = 1.0.5 =
275
+ * space in filed label
276
+
277
+ = 1.0.4 =
278
+ * custom html iframe problem fixed
279
+
280
+ = 1.0.3 =
281
+ * responsive textarea
282
+
283
+ = 1.0.2 =
284
+ * translations fixed
285
+
286
+ = 1.0.1 =
287
+ * conflict with jetpack fixed
288
+
289
+ = 1.0.0 =
290
+ * Initial version
291
+
292
+
293
+ == Screenshots ==
294
+ 1. Contact Form Builder - Contact Form 1
295
+ 2. Contact Form Builder - Contact Form 2
296
+ 3. Contact Form Builder - Manage Form
297
+ 4. Contact Form Builder - Email Option
298
+
299
+
300
+ == Frequently Asked Questions ==
301
+
302
+ = 1. Can I add more fields to Contact Form Builder? =
303
+ There is no possibility of adding additional fields, but instead there is an option of activating/deactivating fields or modifying the available fields. By default the package includes 10 forms.
304
+
305
+ = 2. Where are the submitted entries stored? =
306
+ The entries are being emailed to the Administrator based on the providing email in the Email Options (located within Form Options).
307
+
308
+ = 3. Are there any limitations on the number of forms or entries to be used within a single website? =
309
+ There are no limitations on the number of entries per form. You can use unlimited number of forms within each website.
310
+
311
+ = 4. What can I use to avoid Spam entries? =
312
+ The Contact Form Builder has a possibility of adding two type of word verifications- Standard Captcha and Google ReCaptcha protection. If you are receiving spam entries from a single or a few IPs, you can use Blocking IPs option.
313
+
314
+ = 5. Is it possible to translate the Contact Form Builder into another language? =
315
+ It is only possible to translate the front end of the plugin. To do so, you should set define('WPLANG','[lang_code]') to the desired language code in wp_config.php file of your website. This way the plugin should be translated automatically. Please be informed, that you can modify the translations from wp-content/plugins/contact_form_maker/languages/ (you will need POEdit http://www.poedit.net/download.php).
316
+
317
+ = 6. What to do if Administrator and/or user do not receive submissions in their email? =
318
+ There are a few options to try out first:
319
+ Check whether the entries are filtered into spam/junk folders or not.
320
+ Try using standard emails (Gmail/Yahoo/Hotmail and etc.) or an email which uses the same domain as the website
321
+ Check with your hosting provider whether you have your PHP mail activated or not.
322
+ If these options do not work, please install STMP plugin (e.g. http://wordpress.org/plugins/webriti-smtp-mail/). The authentication details for the Gmail are the following:
323
+ Mailer: smtp
324
+ SMTP Authentication: yes
325
+ SMTP Security: SSL
326
+ SMTP Port: 465
327
+ SMTP Username: your gmail full address
328
+ SMTP Password: your gmail password
329
+ SMTP Host: smtp.gmail.com
330
+
331
+ After installation please use the test option. If the test email failed contact your hosting provider to fix the issue.
332
+
333
+ = 7. Is the Contact Form Builder fully responsive? =
334
+ Yes, the Contact Form Builder is fully responsive and works with various smartphones and tablets.
335
+
336
+
337
+ ==Wordpress Contact Form Builder Step by step guide==
338
+
339
+ Step 1: Installing the [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html).
340
+
341
+
342
+ 1.1 Minimum requirements.
343
+
344
+ • Wordpress 3.0+
345
+ • PHP 5.x
346
+ • MySQL 5.x
347
+
348
+ 1.2 Performing a new installation of the Contact Form Builder:
349
+
350
+ 1. Log in to the Administrator panel.
351
+ 2. Go to Plugins section. Here- Add > New > Upload.
352
+ 3. Click “Choose file(“Browse”) and select the “Contact Form Builder” zip file.
353
+ For Mac Users
354
+ Go to your Downloads folder and locate the folder with the plugin. Right-click on the folder and select Compress. Now you have a newly created .zip file which can be installed as described here.
355
+ 4. Click “Install Now” button.
356
+ 5. Click “Activate Plugin” button for activating the Contact Form Builder plugin.
357
+ 6. If the installation does not succeed, please contact us at info@web-dorado.com.
358
+
359
+
360
+ = Step 2: Editing and adjusting Contact Form Builder. =
361
+
362
+ 2.1 Go to Contact Form Builder > Manager.
363
+ 2.2 Select the Contact Form you want to make the relevant changes. Click on the title to open the specified contact form.
364
+ Here you will see three sets of buttons- navigation buttons, “pencil” button for editing the contact form fields and checkbox. Let’s discuss each button separately:
365
+ 2.3 Navigation Buttons. 4 navigation arrows are displayed next to each contact form field. You can use those arrows to move the contact form fields up, down, left or right. Note: for larger contact form fields to get the idea of the contact form display in the front-end you should press Collapse menu on the lowest left corner.
366
+
367
+ 2.4 Edit button. Using edit button, you will be able to apply specific changes in the contact form field, including titles, labels, dimensions and etc.
368
+ 2.5 Checkbox. Using the checkboxes next to the contact form fields you can enable or disable the provided field.
369
+
370
+
371
+ = Step 3: Configuring Form Options of the Contact Form Builder. =
372
+ The contact form options for each contact form can be adjusted. Go to the Contact Form Builder>Manager, select the contact form and then get to the Form Options. It uses three sections. General options, Email options for the emails to the Administrator and User and Action after Submission for specifying the action once the contact form is submitted.
373
+
374
+ 3.1 General Options of the Contact Form Builder
375
+
376
+ 3.1.1 Published. Choose whether to publish the created contact form or leave it unpublished for the further publishing.
377
+ 3.1.2 Save data (to database). Choose whether to save the data (filled in contact form) in the database (submissions section) or to have email sent out only. IMPORTANT: Please make sure to set up the email options properly in the Email options section of the Contact Form Builder and test it out. Disabling this option is only applicable when you prefer to receive contact form submissions only via email.
378
+ 3.1.3 Theme. The theme of the contact form can be changed to fit the theme of your website. It can be applied to each new contact form. The contact form comes with 37 default themes. The themes can be edited; there is a possibility of adding new themes to use for contact forms of the other pages (Go to Contact Form Builder>Themes>Add new.)
379
+ 3.1.4 Preview. This option will allow viewing the contact form appearance within the selected theme.
380
+ 3.1.5 Edit CSS. This options allows you to make changes in the contact form theme CSS without the need of leaving the form page. You can press Save and use Preview button to view the changes.
381
+ 3.1.6 Required fields mark. Here you can change the symbol of the indicator used for the required contact form fields. By default it is asterisk and will be displayed at the end of the contact form field (*).
382
+ 3.2 Email Options
383
+ 3.2.1 Send Email. Choose whether to send emails containing the contact form entries to administrator(s)/submitter or not.
384
+ 3.2.2 Email to Administrator Email to send submissions to. Here you provide e-mails to which submitted contact form information is sent. If you need more than one e-mail address, you should press + button to add the new one.
385
+ Email From. Here you specify the email address from which the administrator(s) receives the submission email (sender’s email). If you have an email address field in your form, you can use this user-submitted email address.
386
+ From Name. Here you specify the sender’s name which is shown in submission email.
387
+ Reply to:(if different from "Email From"). Here you can specify the email address the administrator can reply to. If you have an email address field in your contact form, you can use this user-submitted email address.
388
+ CC. Provide additional email/emails to send the submissions of the contact form. The receiver will be able to view all the emails receiving the submissions.
389
+ BCC. Provide additional email/emails to send the submissions of the contact form. The receiver will not be able to view the emails receiving the submissions.
390
+ • Subject. You can provide a text to be used as a subject for the email. In addition using + button you can select any of the contact form fields to be set as a separate subject for the email or use it with additional text, e.g. Submission of + %Name%.
391
+ Mode. Specify the mode of the email to the administrator- HTML or text. HTML will display the contact form within a box, whereas text will display the content of the filled contact form only.
392
+ Custom Text in Email For Administrator. Here you can add custom texts, images, and custom HTML to the e-mail message that is sent to the administrator (filled in contact form), as well as choose which fields of the submitted form are included in the e-mail (set to ‘all’ by default).
393
+ 3.2.3 Email to User
394
+ Send to. By checking the box the submitters will receive their copy of the filled contact form.
395
+ Email From. Here you specify the email address from which the users receive the submission email.
396
+ From Name. Here you specify the sender’s name which is shown in submission email which the users receive.
397
+ Reply to:(if different from "Email From"). Here you can specify the email address the user can reply to.
398
+ CC. Provide additional email/emails to send the submissions of the contact form. The receiver will be able to view all the emails receiving the submissions.
399
+ BCC. Provide additional email/emails to send the submissions of the contact form. The receiver will not be able to view the emails receiving the submissions.
400
+ • Subject. You can provide a text to be used as a subject for the email. In addition using + button you can select any of the contact form fields to be set as a separate subject for the email or use it with additional text, e.g. Submission of + %Name%.
401
+ • Mode. Specify the mode of the email (filled in contact form) to the administrator- HTML or text. HTML will display the contact form within a box, whereas text will display the content of the filled contact form only.
402
+ • Custom Text in Email For User. Here you can add custom texts, images, and custom HTML to the e-mail message that is sent to the administrator, as well as choose which fields of the submitted form are included in the e-mail (set to ‘all’ by default).
403
+
404
+
405
+
406
+ = Step 4: Description of the Contact Form Builder fields. =
407
+
408
+
409
+ 4.1 Text Input Fields. There is a list of contact form fields which can be referred as text input fields.
410
+ Simple text. This contact form field allows adding any kind of textual entry. It has the following attributes: Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Deactivate Class Name. This is the static CSS class of the deactive text input field. Active Class Name. This is the static CSS class of the active text input field. Required. Check the box to make the contact form field a required one. Allow only unique values. Check the box to allow only unique entries for the specified contact form field. • Additional attributes. This field allows adding additional features to the contact form field to customize it, e.g. for allowing displaying maximum 8 symbols you can use the following properties: -Name: maxlength -Value: 8
411
+ Text Area. This contact form field allows adding longer textual entries expending with the text and adding automatic rows. It has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it, e.g. for allowing displaying maximum 8 symbols you can use the following properties: -Name: maxlength -Value: 8
412
+ Name. This contact form field allows adding short or extended name entries. It has the following attributes: • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field.• Value if Empty. Fill in the text which will be displayed when the form field is empty. • Field size. Define the dimensions of the field. • Name Format. Select the name format. Extended version will include 4 rows of the text input. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it.
413
+ Address. This contact form field allows adding address. It has editable labels, some of the subfields can be removed. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Overall size. Define the overall size of the field. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Disable fields. Select the fields to hide from the list. • US list for States. Check the box to display the states in a select box whenever US is stated as a country. • Required. Check the box to make the field a required one. • Additional attributes. This field allows adding additional features to the field to customize it.
414
+ Address (Mark on Map). This contact form field allows adding address directly marking it on a map based on geolocating possibility. It has the following attributes: • Map size. Set the width and the height of the map. • Address. The address will be set automatically when using the marker or longitude/latitude options. • Longitude. Provide the longitude of the location or get it automatically set when dragging the marker to the desired location. • Latitude. Provide the latitude of the location or get it automatically set when dragging the marker to the desired location. • Marker info. You can add an information to be displayed with the marker. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
415
+ Email. This contact form field allows adding submitter’s email. It gets validated so that the users will add it in the appropriate format. It has the following attributes: • Field label. Provide the label text.• Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Allow only unique values. Check the box to allow only unique entries for the field. • Required. Check the box to make the field a required one. • Additional attributes. This field allows adding additional features to the field to customize it.
416
+ Number. You can add numerical entry field using this field. It has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it, e.g. for allowing displaying maximum 8 symbols you can use the following properties: -Name: maxlength -Value: 8
417
+ Phone. You can add full phone contact information. It has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Allow only unique values. Check the box to allow only unique entries for the field. • Additional attributes. This field allows adding additional features to the field to customize it.
418
+ Send copy to submitter. This contact form field allows the user to choose whether to receive the submitted information or not.
419
+ 4.2 Custom HTML. This contact form field allows adding custom HTML format content. It uses typical HTML editor.
420
+
421
+ 4.3 Select. This contact form field allows adding a drop-down list of items into the Contact Form Builder. The set can be defined with the help of Options attribute. Using the checkbox you can make the values considered as empty, e.g. Select Option. Using the X button you can remove the unnecessary options. The rest of the attributes are the following: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label.
422
+ • Field label position. Define the positioning of the contact form field label. • Field size. Define the dimensions of the contact form field. • Value if Empty. Fill in the text which will be displayed when the form field is empty.• Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Additional attributes. This field allows adding additional features to the field to customize it.
423
+
424
+ 4.4. Single Choice. This contact form field can be used for selecting the values from a list of radio buttons. The list can be defined by Options attribute. You can easily add and remove list items. The list can be displayed in horizontal/vertical positions by setting the Relative Position attribute. You can use Rows/Columns field if you want the options to be displayed in a row/column (depending on the positioning choice). The number of rows/columns should be specified. The field has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Relative position. Choose the options display between horizontal and vertical possibilities. • Rows/Columns. Define the name for the rows/columns. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Randomized in frontend. Choose whether to have the options in a specific ordering or have it randomized. • Allow other. Allow adding other values rather than the options within a text field. • Additional attributes. This field allows adding additional features to the field to customize it.
425
+
426
+ 4.5 Multiple choice. This contact form field can be used for selecting the values from a list of checkboxes. The list can be defined by Options attribute. You can easily add and remove list items. The list can be displayed in horizontal/vertical positions by setting the Relative Position attribute. You can use Rows/Columns field if you want the options to be displayed in a row/column (depending on the positioning choice). The number of rows/columns should be specified. The field has the following attributes: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Relative position. Choose the options display between horizontal and vertical possibilities. • Rows/Columns. Define the name for the rows/columns. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Required. Check the box to make the field a required one. • Randomized in frontend. Choose whether to have the options in a specific ordering or have it randomized. • Allow other. Allow adding other values rather than the options within a text field. • Additional attributes. This field allows adding additional features to the field to customize it.
427
+
428
+ 4.6 Captcha. This field can be used for receiving human generated contact form entries. There are two options for this contact form field: Captcha: • Field label. Provide the label text. • Field label size. Set the size of the field label. • Field label position. Define the positioning of the field label. • Captcha size. Select the number of the characters to be displayed with Captcha. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
429
+ ReCaptcha: • Field label. Provide the label text. • Field label size. Set the size of the contact form field label. • Field label position. Define the positioning of the contact form field label. • Public Key. Specify the public key of the Recaptcha. • Private Key. Specify the private key of the Recaptcha. • Recaptcha Theme. Select the theme to be applied to the Recaptcha. • Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
430
+
431
+ 4.10 Section Break: This option allows adding sections and dividing them with break lines.
432
+
433
+ 4.11 Submit Button. This field allows adding Submit and Reset buttons for the contact form. You can edit the label of the buttons to the preferred option. The buttons have two attributes: Class Name. The CSS class of the field included in the Theme (Plugins>Contact Form Builder>Themes) • Additional attributes. This field allows adding additional features to the field to customize it.
434
+
435
+
436
+ = Step 5: Publishing the created Contact Form. =
437
+ For inserting the contact form into a Page or a Post:
438
+ 5.1. Open the page or post where you want to post the Contact Form.
439
+
440
+ 5.2. Check the buttons in your editor. Find and press the button titled as Insert Contact Form.
441
+
442
+ 5.3. Select the contact form from the list and press Insert button.
443
+
444
+ 5.4. Save the page or the post.
445
+
446
+ If you do not use the typical tinyMCE editor, you can add the shortcode of the Contact Form Builder manually:
447
+ Add the shortcode [Contact_Form_Builder id="N"] (where N is the id of the contact form, e.g. if id=2, the shortcode must be [Contact_Form_Builder id="N"]. Similar to the first instructions you should add the created shortcode into the pages and posts, where you want the contact form to appear. The shortcode list can be copied from the Manager section in Contact Form Builder> Manager
448
+
449
+
450
+ = Step 6: Blocking IPs =
451
+ 6.1 Go to Plugins > Contact Form Builder > Blocked IPs.
452
+
453
+ 6.2 IP. Provide the IP address you want to block in the line.
454
+
455
+ 6.3 Press Add IP button. Note: Another option of blocking IPs can be done from the Submissions section of the Contact Form Builder. You should go to Contact Form Builder > Submissions. Check the box in front of Spam submissions and press Block IP button at the top right corner. In addition you can unblock the IP using Unblock IP button in the same location.
456
+
457
+
458
+
459
+ = Step 7: Managing submissions of the Contact Form Builder. =
460
+
461
+ 7.1 Go to Contact Form Builder > Submissions.
462
+
463
+ 7.2 In order to manage the submissions of specific contact form select the form using the drop-down list.
464
+
465
+ 7.3 In the upper part you will see the statistical data for that contact form: - Entries: The number of submitted contact forms. - Views: The number of times the contact form has been viewed (but not necessarily submitted). - Conversion Rate: The percentage of submitted contact forms to the overall number of contact form views.
466
+
467
+ 7.4 For the contact forms that contain checkboxes or radio buttons a separate statistics is available. It shows how many times a particular checkbox/radio button has been checked, and what is the ratio of that number to the overall number of checks.
468
+
469
+ 7.5 There is a possibility to search the contact form submissions database by all the relevant fields of the given form. Submissions can be sorted by any of the fields of the form by clicking the labels.
470
+
471
+ 7.6 You can delete any of contact form submissions by selecting them (with the checkbox) and pressing the “Delete” button at the top of the page.
472
+
473
+ 7.7 It is also possible to edit the contact form submissions by clicking on the “Edit” icon on the upper right corner of the “Submissions” section. The submitted contact form will open in the original Form view and you can make the corresponding changes.
474
+
475
+ 7.8 You can add/remove any column of the contact form submissions by “Add/Remove Columns” button. This can be used to view only specific fields and not for deleting the entire column.
476
+
477
+ 7.9 The contact form submissions can be exported using CSV and XML formats.