Contact Form by WD – responsive drag & drop contact form builder tool - Version 1.8.28

Version Description

  • minor bug fixed
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form by WD – responsive drag & drop contact form builder tool
Version 1.8.28
Comparing to
See all releases

Code changes from version 1.8.27 to 1.8.28

admin/views/FMViewManage_fmc.php CHANGED
@@ -163,6 +163,7 @@ class FMViewManage_fmc {
163
  ?>
164
  <script type="text/javascript">
165
  var plugin_url = "<?php echo WD_FMC_URL; ?>";
 
166
  </script>
167
  <script src="<?php echo WD_FMC_URL . '/js/formmaker_div_free.js'; ?>?ver=<?php echo get_option("wd_form_maker_version"); ?>" type="text/javascript"></script>
168
  <script type="text/javascript">
163
  ?>
164
  <script type="text/javascript">
165
  var plugin_url = "<?php echo WD_FMC_URL; ?>";
166
+ var field_limitation = "<?php echo get_option("wd_cfield_limit", ''); ?>";
167
  </script>
168
  <script src="<?php echo WD_FMC_URL . '/js/formmaker_div_free.js'; ?>?ver=<?php echo get_option("wd_form_maker_version"); ?>" type="text/javascript"></script>
169
  <script type="text/javascript">
contact-form-maker.php CHANGED
@@ -2,8 +2,8 @@
2
  /**
3
  * Plugin Name: Contact Form Maker
4
  * Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
5
- * Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
6
- * Version: 1.8.27
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -198,7 +198,7 @@ function contact_fm_shortcode($attrs) {
198
  function FMC_front_end_main($params) {
199
  $form_id = isset($params['id']) ? (int)$params['id'] : '';
200
  if($form_id)
201
- wd_contactform_maker($form_id);
202
  return;
203
  }
204
 
@@ -211,7 +211,7 @@ function fmc_email_verification_shortcode() {
211
  $controller->execute();
212
  }
213
 
214
- function wd_contactform_maker($id) {
215
  require_once (WD_FMC_DIR . '/frontend/controllers/FMControllerForm_maker_fmc.php');
216
  $controller = new FMControllerForm_maker_fmc();
217
  $form = $controller->execute($id);
@@ -248,7 +248,7 @@ function register_fmcemailverification_cpt(){
248
  // Activate plugin.
249
  function form_maker_activate_cfm() {
250
  $version = get_option("wd_form_maker_version");
251
- $new_version = '1.8.27';
252
  global $wpdb;
253
  if (!$version) {
254
  add_option("wd_form_maker_version", $new_version, '', 'no');
@@ -270,7 +270,7 @@ function form_maker_activate_cfm() {
270
 
271
  require_once WD_FMC_DIR . "/contact_form_maker_insert.php";
272
  contact_from_maker_insert();
273
-
274
  $cf_email_verification_post = array(
275
  'post_title' => 'Email Verification',
276
  'post_content' => '[email_verification]',
2
  /**
3
  * Plugin Name: Contact Form Maker
4
  * Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
5
+ * Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
6
+ * Version: 1.8.28
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
198
  function FMC_front_end_main($params) {
199
  $form_id = isset($params['id']) ? (int)$params['id'] : '';
200
  if($form_id)
201
+ wd_contact_form_maker($form_id);
202
  return;
203
  }
204
 
211
  $controller->execute();
212
  }
213
 
214
+ function wd_contact_form_maker($id) {
215
  require_once (WD_FMC_DIR . '/frontend/controllers/FMControllerForm_maker_fmc.php');
216
  $controller = new FMControllerForm_maker_fmc();
217
  $form = $controller->execute($id);
248
  // Activate plugin.
249
  function form_maker_activate_cfm() {
250
  $version = get_option("wd_form_maker_version");
251
+ $new_version = '1.8.28';
252
  global $wpdb;
253
  if (!$version) {
254
  add_option("wd_form_maker_version", $new_version, '', 'no');
270
 
271
  require_once WD_FMC_DIR . "/contact_form_maker_insert.php";
272
  contact_from_maker_insert();
273
+ add_option("wd_cfield_limit", '9', '', 'no');
274
  $cf_email_verification_post = array(
275
  'post_title' => 'Email Verification',
276
  'post_content' => '[email_verification]',
js/formmaker_div_free.js CHANGED
@@ -22860,6 +22860,24 @@ function remove_add_(id)
22860
  }
22861
  }
22862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22863
 
22864
  function show_arrows(id)
22865
  {
@@ -23443,7 +23461,7 @@ function add(key, after_edit, wdid)
23443
  return;
23444
  }
23445
 
23446
-
23447
  if(document.getElementById('main_editor').style.display=="block")
23448
  {
23449
  if(document.getElementById('editing_id').value)
22860
  }
22861
  }
22862
 
22863
+ function vorchjogen() {
22864
+ is9 = 0;
22865
+ for (v = 0; v < 100; v++) {
22866
+ if (document.getElementById('wdform_field' + v)) {
22867
+ if (document.getElementById('wdform_field' + v).getAttribute("type") != "type_section_break") {
22868
+ is9++;
22869
+ }
22870
+ }
22871
+ if (is9 >= 9) {
22872
+ break;
22873
+ }
22874
+ }
22875
+ if (is9 >= 9) {
22876
+ alert("The free version is limited up to 9 fields to add. If you need this functionality, you need to buy the commercial version.");
22877
+ return true;
22878
+ }
22879
+ return false;
22880
+ }
22881
 
22882
  function show_arrows(id)
22883
  {
23461
  return;
23462
  }
23463
 
23464
+ if (!document.getElementById('editing_id').value) if (key == 0) if (field_limitation) if (vorchjogen(key)) { return };
23465
  if(document.getElementById('main_editor').style.display=="block")
23466
  {
23467
  if(document.getElementById('editing_id').value)
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-maker-plugin.
4
  Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form, Contact form maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, survey form, contact form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
- Stable tag: 1.8.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -146,6 +146,8 @@ If you want to update the plugin while preserving your existing contact forms, y
146
 
147
  == Changelog ==
148
 
 
 
149
  = 1.8.27 =
150
  * Major update
151
  = 1.7.33 =
4
  Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contac forms, custom form, Contact form maker with recaptcha, contact form with google map, feedback form, feedback forms, contact us, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, survey form, contact form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
+ Stable tag: 1.8.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
146
 
147
  == Changelog ==
148
 
149
+ = 1.8.28 =
150
+ * minor bug fixed
151
  = 1.8.27 =
152
  * Major update
153
  = 1.7.33 =