Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.12.21

Version Description

  • Changed: DB field length.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.12.21
Comparing to
See all releases

Code changes from version 1.12.20 to 1.12.21

Files changed (4) hide show
  1. form-maker.php +3 -3
  2. form_maker_insert.php +4 -4
  3. form_maker_update.php +6 -0
  4. readme.txt +116 -14
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- * Version: 1.12.20
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -94,8 +94,8 @@ final class WDFM {
94
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
95
  $this->front_urls = $this->get_front_urls();
96
  $this->main_file = plugin_basename(__FILE__);
97
- $this->plugin_version = '1.12.20';
98
- $this->db_version = '2.12.20';
99
  $this->menu_slug = 'manage_fm';
100
  $this->prefix = 'form_maker';
101
  $this->css_prefix = 'fm_';
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ * Version: 1.12.21
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
94
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
95
  $this->front_urls = $this->get_front_urls();
96
  $this->main_file = plugin_basename(__FILE__);
97
+ $this->plugin_version = '1.12.21';
98
+ $this->db_version = '2.12.21';
99
  $this->menu_slug = 'manage_fm';
100
  $this->prefix = 'form_maker';
101
  $this->css_prefix = 'fm_';
form_maker_insert.php CHANGED
@@ -22,8 +22,8 @@ class WDFMInsert {
22
  `script_mail_user` text NOT NULL,
23
  `counter` int(11) NOT NULL,
24
  `published` int(11) NOT NULL DEFAULT '1',
25
- `label_order` text NOT NULL,
26
- `label_order_current` text NOT NULL,
27
  `article_id` varchar(500) NOT NULL,
28
  `pagination` varchar(128) NOT NULL,
29
  `show_title` varchar(128) NOT NULL,
@@ -220,8 +220,8 @@ class WDFMInsert {
220
  `script_mail_user` text NOT NULL,
221
  `counter` int(11) NOT NULL,
222
  `published` int(11) NOT NULL DEFAULT '1',
223
- `label_order` text NOT NULL,
224
- `label_order_current` text NOT NULL,
225
  `article_id` varchar(500) NOT NULL,
226
  `pagination` varchar(128) NOT NULL,
227
  `show_title` varchar(128) NOT NULL,
22
  `script_mail_user` text NOT NULL,
23
  `counter` int(11) NOT NULL,
24
  `published` int(11) NOT NULL DEFAULT '1',
25
+ `label_order` longtext NOT NULL,
26
+ `label_order_current` longtext NOT NULL,
27
  `article_id` varchar(500) NOT NULL,
28
  `pagination` varchar(128) NOT NULL,
29
  `show_title` varchar(128) NOT NULL,
220
  `script_mail_user` text NOT NULL,
221
  `counter` int(11) NOT NULL,
222
  `published` int(11) NOT NULL DEFAULT '1',
223
+ `label_order` longtext NOT NULL,
224
+ `label_order_current` longtext NOT NULL,
225
  `article_id` varchar(500) NOT NULL,
226
  `pagination` varchar(128) NOT NULL,
227
  `show_title` varchar(128) NOT NULL,
form_maker_update.php CHANGED
@@ -239,6 +239,12 @@ class WDFMUpdate {
239
  if (version_compare($version, '1.12.12') == -1) {
240
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` CHANGE `mail` `mail` longtext NOT NULL");
241
  }
 
 
 
 
 
 
242
  return;
243
  }
244
  }
239
  if (version_compare($version, '1.12.12') == -1) {
240
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` CHANGE `mail` `mail` longtext NOT NULL");
241
  }
242
+ if (version_compare($version, '1.12.21') == -1) {
243
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` CHANGE `label_order` `label_order` longtext NOT NULL");
244
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` CHANGE `label_order_current` `label_order_current` longtext NOT NULL");
245
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` CHANGE `label_order` `label_order` longtext NOT NULL");
246
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` CHANGE `label_order_current` `label_order_current` longtext NOT NULL");
247
+ }
248
  return;
249
  }
250
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, form builder, contact form, custom form, feedback, contact, web contact form, captcha, email, form manager, forms, survey
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
- Stable tag: 1.12.20
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -15,6 +15,8 @@ https://www.youtube.com/watch?v=tN3_c6MhqFk
15
 
16
  = Useful Links: =
17
  [Special Offer for all Premium Plugins](https://web-dorado.com/wordpress-plugins-bundle.html)
 
 
18
  [WordPress Form Maker](https://web-dorado.com/products/wordpress-form.html)
19
  [Demo](http://wpdemo.web-dorado.com/)
20
  [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=Form_maker)
@@ -70,13 +72,13 @@ The plugin comes with 5 pre-built templates, which you can use as they are or cu
70
  Form Maker supports 12 premium add-ons to power up your forms even further. Whether you want to integrate them with Mailchimp service, send out conditional emails, or give your visitors an additional payment method like Stripe. Find the full list of add-ons bellow.
71
 
72
  * [Export/Import](https://web-dorado.com/products/wordpress-form/add-ons/export-import.html)
 
73
  * [Save Progress](https://web-dorado.com/products/wordpress-form/add-ons/save-progress.html)
74
  * [Stripe Integration](https://web-dorado.com/products/wordpress-form/add-ons/stripe.html)
75
- * [PDF Integration](https://web-dorado.com/products/wordpress-form/add-ons/pdf.html)
76
- * [Mailchimp Integration](https://web-dorado.com/products/wordpress-form/add-ons/mailchimp.html)
77
  * [WordPress Registration](https://web-dorado.com/products/wordpress-form/add-ons/registration.html)
78
  * [Post Generation](https://web-dorado.com/products/wordpress-form/add-ons/post-generation.html)
79
- * [Conditional Emails](https://web-dorado.com/products/wordpress-form/add-ons/conditional-emails.html)
80
  * [Dropbox Integration](https://web-dorado.com/products/wordpress-form/add-ons/dropbox.html)
81
  * [Google Drive Integration](https://web-dorado.com/products/wordpress-form/add-ons/google-drive.html)
82
  * [Pushover Integration](https://web-dorado.com/products/wordpress-form/add-ons/pushover.html)
@@ -344,17 +346,117 @@ Then you can set conditions from **Form Options > Conditional Fields,** if the u
344
 
345
  The user will not be redirected to PayPal if they make their selections using regular form fields.
346
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
347
 
348
  == Changelog ==
349
 
 
 
 
350
  = 1.12.20 =
351
- * Added: New file types for file upload field.
352
  * Improved: Editing empty mini labels.
353
  * Fixed: Form Submissions CSV export.
354
 
355
  = 1.12.19 =
356
  * Fixed: Form Submissions table view for long texts.
357
- * Fixed: Displaying phone field value in email notification.
358
  * Fixed: Bug on deleting a Page break.
359
 
360
  = 1.12.18 =
@@ -366,32 +468,32 @@ The user will not be redirected to PayPal if they make their selections using re
366
  * Fixed: UTF-8 text for Email subject and Email from name.
367
 
368
  = 1.12.16 =
369
- * Improved: Email functionality.
370
  * Fixed: Multiple choice and single choice with long labels.
371
- * Fixed: Submissions CSV export with UTF-8 encoding.
372
 
373
  = 1.12.15 =
374
- * Fixed: Error on adding a field.
375
 
376
  = 1.12.14 =
377
- * Fixed: Submissions page.
378
 
379
  = 1.12.13 =
380
  * Fixed: Bug on Popup forms on mobile.
381
  * Fixed: Major bug.
382
  * Fixed: Exclude Stripe field from submissions export.
383
  * Fixed: "Custom HTML" field label in conditional fields list.
384
- * Fixed: Edit table of fields in submissions.
385
  * Fixed: Trim data inserted by MySQL mapping.
386
  * Fixed: Default values for payment multiple and payment single choices.
387
  * Changed: Prevent default on form enter.
388
 
389
  = 1.12.12 =
390
- * Changed: Improved query to get number of submissions.
391
  * Changed: Email field length in DB.
392
 
393
  = 1.12.11 =
394
- * Fixed: Preview does not show with widget on page with some Wordpress themes.
395
  * Fixed: Do not check conditionally hidden required fields.
396
  * Fixed: Not embedded forms do not show on form preview page.
397
  * Fixed: Post/page search on display options pages.
@@ -405,7 +507,7 @@ The user will not be redirected to PayPal if they make their selections using re
405
  * Fixed: Matrix field in email.
406
  * Changed: Disable widget in preview page.
407
  * Fixed: Widget functionality with Contact Form Maker.
408
- * Fixed: User manual links.
409
  * Fixed: Default values for multiple and single choices.
410
  * Fixed: Add new theme.
411
  * Fixed: Redirect from Paypal.
3
  Tags: form, form builder, contact form, custom form, feedback, contact, web contact form, captcha, email, form manager, forms, survey
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
+ Stable tag: 1.12.21
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
15
 
16
  = Useful Links: =
17
  [Special Offer for all Premium Plugins](https://web-dorado.com/wordpress-plugins-bundle.html)
18
+
19
+
20
  [WordPress Form Maker](https://web-dorado.com/products/wordpress-form.html)
21
  [Demo](http://wpdemo.web-dorado.com/)
22
  [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=Form_maker)
72
  Form Maker supports 12 premium add-ons to power up your forms even further. Whether you want to integrate them with Mailchimp service, send out conditional emails, or give your visitors an additional payment method like Stripe. Find the full list of add-ons bellow.
73
 
74
  * [Export/Import](https://web-dorado.com/products/wordpress-form/add-ons/export-import.html)
75
+ * [PDF Integration](https://web-dorado.com/products/wordpress-form/add-ons/pdf.html)
76
  * [Save Progress](https://web-dorado.com/products/wordpress-form/add-ons/save-progress.html)
77
  * [Stripe Integration](https://web-dorado.com/products/wordpress-form/add-ons/stripe.html)
78
+ * [Conditional Emails](https://web-dorado.com/products/wordpress-form/add-ons/conditional-emails.html)
 
79
  * [WordPress Registration](https://web-dorado.com/products/wordpress-form/add-ons/registration.html)
80
  * [Post Generation](https://web-dorado.com/products/wordpress-form/add-ons/post-generation.html)
81
+ * [Mailchimp Integration](https://web-dorado.com/products/wordpress-form/add-ons/mailchimp.html)
82
  * [Dropbox Integration](https://web-dorado.com/products/wordpress-form/add-ons/dropbox.html)
83
  * [Google Drive Integration](https://web-dorado.com/products/wordpress-form/add-ons/google-drive.html)
84
  * [Pushover Integration](https://web-dorado.com/products/wordpress-form/add-ons/pushover.html)
346
 
347
  The user will not be redirected to PayPal if they make their selections using regular form fields.
348
 
349
+ = How can a migrate Form Maker from one site to another? =
350
+
351
+ If you want to migrate Form Maker database tables from one WordPress site to another, you need to follow the instructions below.
352
+
353
+ *Please uninstall Form Maker if you have it installed on your second site first, then proceed with these steps:*
354
+
355
+ **On your first WordPress site:**
356
+
357
+ 1. Go to **PHPMyAdmin** of your site,
358
+ 2. open your WordPress site database,
359
+ 3. select **Export** menu item,
360
+ 4. change the radio button from **Quick** to **Custom,**
361
+ 5. unselect all tables and select the following 7 tables:
362
+
363
+ *[wp1_prefix]_formmaker*
364
+ *[wp1_prefix]_formmaker_blocked*
365
+ *[wp1_prefix]_formmaker_query*
366
+ *[wp1_prefix]_formmaker_sessions*
367
+ *[wp1_prefix]_formmaker_submits*
368
+ *[wp1_prefix]_formmaker_themes*
369
+ *[wp1_prefix]_formmaker_views*
370
+
371
+ (where **[wp1_prefix]** is your WordPress database prefix)
372
+
373
+ 6. scroll all the way down and press the **Go** button. This should export an SQL file containing those 7 tables.
374
+
375
+ **On your second WordPress site:**
376
+
377
+ 7. Go to your WordPress database,
378
+ 8. select **Import** menu item,
379
+ 9. browse for the exported SQL file,
380
+ 10. scroll all the way down and press **Go** button. This should import Form Maker tables to your WordPress database.
381
+
382
+ Now you need to change the prefix for those tables to the one that is set for your second WordPress database.
383
+
384
+ 11. Select **[wp1_prefix]_formmaker** table from the left pane of PHPMyAdmin of your second WordPress database,
385
+ 12. select **Operations** menu item from the top menu
386
+ 13. scroll to **Table Options** box and edit the value of **Rename table to** field with the second WordPress database prefix, so that the table name now looks like this: **[wp2_prefix]_formmaker** (where **[wp2_prefix]** is your second WordPress database prefix)
387
+ 14. do the same for other 6 tables.
388
+ 15. go to your second WordPress administration panel and install the Form Maker.
389
+
390
+ That's it! Now you should have your forms, submissions, and themes all set up.
391
+
392
+ = Characters in the submission CSV file do not appear correctly. How can I fix this? =
393
+
394
+ Please note, that this problem is not caused by Form Maker plugin. It is rather a formatting issue in Excel. However, you can prevent it the following way:
395
+
396
+ * Please open a new Microsoft Excel document first. Then go to **Data** tab from the menu and click on **From Text.**
397
+ * Choose the CSV file you need to view. You'll see a pop-up window with several options, you'll find the **File Origin** option along with them.
398
+ * Please select **Unicode (UTF-8)** for this dropdown and click **Next** if you need to edit other options, or just **Finish** to insert the document.
399
+
400
+ The special characters in the CSV submissions of your forms should appear correctly afterwards.
401
+
402
+ = I do not receive any submission emails of my forms. How can this be fixed? =
403
+
404
+ This might be a problem related to the hosting configurations of your website. You can check that the following way.
405
+
406
+ Please install [WP SMTP](https://wordpress.org/plugins/wp-smtp/) plugin and go to **Settings > WP SMTP** page. Scroll down to the bottom and send a test mail to your email address.
407
+
408
+ If the test email will be sent, then the issue is triggered by Form Maker plugin. Please contact Web-Dorado Customer Care at support@web-dorado.com. Our developers will have a closer look.
409
+
410
+ But if the test mail fails, the problem is on the server of your website. Please contact your hosting provider in this case, and ask them to enable mail functions on your site.
411
+
412
+ = My forms do not submit due to Javascript errors. How can they be eliminated? =
413
+
414
+ This problem could be related to permission settings of Form Maker files on your web server. Please check that the following way.
415
+
416
+ Connect to your website files via FTP connection and open the following two directories:
417
+
418
+ *wp-content/uploads/form-maker-frontend/js/*
419
+ *wp-content/uploads/form-maker-frontend/css/*
420
+
421
+ Please make sure all **.css** and **.js** files in these folders have their permissions set to **777.**
422
+
423
+ If the permissions are correct, please do not hesitate to contact Web-Dorado Customer Care at support@web-dorado.com.
424
+
425
+ = Is it possible to pass parameters from the page URL to form fields? =
426
+
427
+ To fill in values of parameters from a URL into Form Maker fields, it is necessary to implement a custom script. Please navigate to **Form Options > Javascript** page and add the following code inside **before_load()** function:
428
+
429
+ `function getParameterByName(name, url) {
430
+ if (!url) {
431
+ url = window.location.href;
432
+ }
433
+ name = name.replace(/[[]]/g, "$&");
434
+ var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
435
+ results = regex.exec(url);
436
+ if (!results) return null;
437
+ if (!results[2]) return '';
438
+ return decodeURIComponent(results[2].replace('/+/g', " "));
439
+ }
440
+ jQuery("#{{field_id}}").val(getParameterByName("{{param_name}}"));
441
+ jQuery("#{{field_id}}").attr("class", "input_active");`
442
+
443
+ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{param_name}}** is the name of the parameter in the URL.
444
+
445
+
446
 
447
  == Changelog ==
448
 
449
+ = 1.12.21 =
450
+ * Changed: DB field length.
451
+
452
  = 1.12.20 =
453
+ * Added: New file types for Form Maker file upload field.
454
  * Improved: Editing empty mini labels.
455
  * Fixed: Form Submissions CSV export.
456
 
457
  = 1.12.19 =
458
  * Fixed: Form Submissions table view for long texts.
459
+ * Fixed: Displaying phone field value in form email notification.
460
  * Fixed: Bug on deleting a Page break.
461
 
462
  = 1.12.18 =
468
  * Fixed: UTF-8 text for Email subject and Email from name.
469
 
470
  = 1.12.16 =
471
+ * Improved: Email functionality of Form Maker.
472
  * Fixed: Multiple choice and single choice with long labels.
473
+ * Fixed: Form submissions CSV export with UTF-8 encoding.
474
 
475
  = 1.12.15 =
476
+ * Fixed: Error on adding a form field.
477
 
478
  = 1.12.14 =
479
+ * Fixed: Form submissions page.
480
 
481
  = 1.12.13 =
482
  * Fixed: Bug on Popup forms on mobile.
483
  * Fixed: Major bug.
484
  * Fixed: Exclude Stripe field from submissions export.
485
  * Fixed: "Custom HTML" field label in conditional fields list.
486
+ * Fixed: Edit table of form fields in submissions.
487
  * Fixed: Trim data inserted by MySQL mapping.
488
  * Fixed: Default values for payment multiple and payment single choices.
489
  * Changed: Prevent default on form enter.
490
 
491
  = 1.12.12 =
492
+ * Changed: Improved query to get number of form submissions.
493
  * Changed: Email field length in DB.
494
 
495
  = 1.12.11 =
496
+ * Fixed: Form preview does not show with widget on page with some Wordpress themes.
497
  * Fixed: Do not check conditionally hidden required fields.
498
  * Fixed: Not embedded forms do not show on form preview page.
499
  * Fixed: Post/page search on display options pages.
507
  * Fixed: Matrix field in email.
508
  * Changed: Disable widget in preview page.
509
  * Fixed: Widget functionality with Contact Form Maker.
510
+ * Fixed: Form Maker user manual links.
511
  * Fixed: Default values for multiple and single choices.
512
  * Fixed: Add new theme.
513
  * Fixed: Redirect from Paypal.